home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / bug / 1490 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  40 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cs.cornell.edu!cliff
  3. From: cliff@cs.cornell.edu (Cliff Krumvieda)
  4. Subject: cl.elc is not behaving like a compiled cl.el
  5. Message-ID: <9211161417.AA02701@ask.cs.cornell.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 04:17:09 GMT
  10. Approved: bug-gnu-emacs@prep.ai.mit.edu
  11. Lines: 27
  12.  
  13. Howdy:
  14.  
  15. We're running emacs-18.59 on sparcs and SunOS 4.1.1.  Consider the
  16. following elisp code:
  17.  
  18. ======================================================================
  19. (require 'cl)
  20. (when (not (fboundp 'message-no-log))
  21.   (setf (symbol-function 'message-no-log)
  22.     (symbol-function 'message)))
  23. ======================================================================
  24.  
  25. Emacs-18.58 has no problem evaluating this, but emacs-18.59 complains
  26. with:
  27.  
  28.  No `setf' update-function for `(symbol-function (quote message-no-log))'
  29.  
  30. I checked around and discovered that, although, emacs-18.58/lisp/cl.el
  31. and emacs-18.59/lisp/cl.el are identical files,
  32. emacs-18.58/lisp/cl.elc and emacs-18.59/lisp/cl.elc differ.  I then
  33. recomplied emacs-18.59/lisp/cl.el, started a new emacs, loaded the new
  34. .elc file, and evaluated the code above without problems.
  35.  
  36. Is this a bug with some optimizing byte-compiler?
  37.  
  38.                         --Cliff Krumvieda
  39.  
  40.