changeset 63687:1c74bf38a6c1

(dig-mode): Use gnus-run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 23 Jun 2005 08:32:57 +0000
parents 9f00cb6e413e
children 14d94fbda7b5
files lisp/gnus/dig.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/dig.el	Thu Jun 23 08:20:33 2005 +0000
+++ b/lisp/gnus/dig.el	Thu Jun 23 08:32:57 2005 +0000
@@ -148,7 +148,8 @@
     (set (make-local-variable 'font-lock-defaults)
 	 '(dig-font-lock-keywords t)))
   (when (featurep 'font-lock)
-    (font-lock-set-defaults)))
+    (font-lock-set-defaults))
+  (gnus-run-mode-hooks 'dig-mode-hook))
 
 (defun dig-exit ()
   "Quit dig output buffer."