Mercurial > emacs
comparison lisp/gnus/dig.el @ 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 | 0d1a48b1ca68 |
children | 18a818a2ee7c |
comparison
equal
deleted
inserted
replaced
63686:9f00cb6e413e | 63687:1c74bf38a6c1 |
---|---|
146 (buffer-disable-undo) | 146 (buffer-disable-undo) |
147 (unless (featurep 'xemacs) | 147 (unless (featurep 'xemacs) |
148 (set (make-local-variable 'font-lock-defaults) | 148 (set (make-local-variable 'font-lock-defaults) |
149 '(dig-font-lock-keywords t))) | 149 '(dig-font-lock-keywords t))) |
150 (when (featurep 'font-lock) | 150 (when (featurep 'font-lock) |
151 (font-lock-set-defaults))) | 151 (font-lock-set-defaults)) |
152 (gnus-run-mode-hooks 'dig-mode-hook)) | |
152 | 153 |
153 (defun dig-exit () | 154 (defun dig-exit () |
154 "Quit dig output buffer." | 155 "Quit dig output buffer." |
155 (interactive) | 156 (interactive) |
156 (kill-buffer (current-buffer))) | 157 (kill-buffer (current-buffer))) |