2000-05-07 Florian Weimer <fw@deneb.cygnus.argh.org>
authorFlorian Weimer <fw@deneb.enyo.de>
Sun, 7 May 2000 06:29:05 +0000 (06:29 +0000)
committerFlorian Weimer <fw@deneb.enyo.de>
Sun, 7 May 2000 06:29:05 +0000 (06:29 +0000)
* mailcap.el (mailcap-maybe-eval): Honor user request not to
evaluate the Lisp code.

lisp/ChangeLog
lisp/mailcap.el

index f485789..632589f 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-07  Florian Weimer  <fw@deneb.cygnus.argh.org>
+
+       * mailcap.el (mailcap-maybe-eval): Honor user request not to
+       evaluate the Lisp code.
+
 2000-05-06 17:40:20  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-art.el (article-wash-html): New function.
index 565b555..407c67e 100644 (file)
@@ -303,8 +303,8 @@ Gnus might fail to display all of it.")
 (defun mailcap-maybe-eval ()
   "Maybe evaluate a buffer of emacs lisp code."
   (let ((lisp-buffer (current-buffer)))
+    (goto-char (point-min))
     (when
-       (goto-char (point-min))
        (save-window-excursion
          (delete-other-windows)
          (let ((buffer (get-buffer-create (generate-new-buffer-name