smime.el (smime-certificate-info): Set buffer-read-only directly, instead of calling...
authorChong Yidong <cyd@gnu.org>
Fri, 13 Jul 2012 14:59:24 +0000 (14:59 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 13 Jul 2012 14:59:24 +0000 (14:59 +0000)
lisp/ChangeLog
lisp/smime.el

index 2bf2c71..0df5bdc 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-13  Chong Yidong  <cyd@gnu.org>
+
+       * smime.el (smime-certificate-info): Set buffer-read-only directly,
+       instead of calling toggle-read-only with a (bogus) argument.
+
 2012-07-09  Tassilo Horn  <tassilo@member.fsf.org>
 
        * gnus-sum.el (gnus-summary-limit-to-author): Use default value instead
index 73f4970..7492142 100644 (file)
@@ -678,7 +678,7 @@ The following commands are available:
                  "x509" "-in" (expand-file-name certfile) "-text")
     (fundamental-mode)
     (set-buffer-modified-p nil)
-    (toggle-read-only t)
+    (setq buffer-read-only t)
     (goto-char (point-min))))
 
 (defun smime-draw-buffer ()