home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.cornell.edu!cliff
- From: cliff@cs.cornell.edu (Cliff Krumvieda)
- Subject: cl.elc is not behaving like a compiled cl.el
- Message-ID: <9211161417.AA02701@ask.cs.cornell.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 16 Nov 1992 04:17:09 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 27
-
- Howdy:
-
- We're running emacs-18.59 on sparcs and SunOS 4.1.1. Consider the
- following elisp code:
-
- ======================================================================
- (require 'cl)
- (when (not (fboundp 'message-no-log))
- (setf (symbol-function 'message-no-log)
- (symbol-function 'message)))
- ======================================================================
-
- Emacs-18.58 has no problem evaluating this, but emacs-18.59 complains
- with:
-
- No `setf' update-function for `(symbol-function (quote message-no-log))'
-
- I checked around and discovered that, although, emacs-18.58/lisp/cl.el
- and emacs-18.59/lisp/cl.el are identical files,
- emacs-18.58/lisp/cl.elc and emacs-18.59/lisp/cl.elc differ. I then
- recomplied emacs-18.59/lisp/cl.el, started a new emacs, loaded the new
- .elc file, and evaluated the code above without problems.
-
- Is this a bug with some optimizing byte-compiler?
-
- --Cliff Krumvieda
-
-