(smime-mode): Use gnus-run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 23 Jun 2005 08:33:29 +0000 (08:33 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 23 Jun 2005 08:33:29 +0000 (08:33 +0000)
lisp/gnus/smime.el

index 399c067..a1deea7 100644 (file)
@@ -596,7 +596,8 @@ The following commands are available:
   (use-local-map smime-mode-map)
   (buffer-disable-undo)
   (setq truncate-lines t)
-  (setq buffer-read-only t))
+  (setq buffer-read-only t)
+  (gnus-run-mode-hooks 'smime-mode-hook))
 
 (defun smime-certificate-info (certfile)
   (interactive "fCertificate file: ")