]> code.delx.au - gnu-emacs/blobdiff - lisp/ielm.el
* textmodes/artist.el (artist-system): Allow make-temp-file to use
[gnu-emacs] / lisp / ielm.el
index e22b6eda8b285aa275a440bb1b138dc6b382e9ec..ad7565f22635e26e858a37ff117dda69499350e0 100644 (file)
@@ -1,7 +1,7 @@
 ;;; ielm.el --- interaction mode for Emacs Lisp
 
 ;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005,
-;;   2006, 2007, 2008 Free Software Foundation, Inc.
+;;   2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Author: David Smith <maa036@lancaster.ac.uk>
 ;; Maintainer: FSF
@@ -389,7 +389,7 @@ simply inserts a newline."
            (setq ielm-result "More than one sexp in input"))))
 
       ;; If the eval changed the current buffer, mention it here
-      (when (eq ielm-wbuf ielm-working-buffer)
+      (unless (eq ielm-wbuf ielm-working-buffer)
        (message "current buffer is now: %s" ielm-wbuf)
        (setq ielm-working-buffer ielm-wbuf))