diff options
| author | Lute Kamstra | 2005-05-26 13:01:03 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-05-26 13:01:03 +0000 |
| commit | d39f149d73929309b1605753b5805d6cb4f34019 (patch) | |
| tree | 9d03b88846750563fe0aaab60d5fefcba4b4a0bb | |
| parent | d395b3b565e9e4d1ef0b3f6fd52e783197a1daf2 (diff) | |
| download | emacs-d39f149d73929309b1605753b5805d6cb4f34019.tar.gz emacs-d39f149d73929309b1605753b5805d6cb4f34019.zip | |
(Info-mode, Info-edit-mode): Use run-mode-hooks.
| -rw-r--r-- | lisp/info.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el index cfb44cb18f1..0747245f41b 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -3259,7 +3259,7 @@ Advanced commands: | |||
| 3259 | (set (make-local-variable 'search-whitespace-regexp) | 3259 | (set (make-local-variable 'search-whitespace-regexp) |
| 3260 | Info-search-whitespace-regexp) | 3260 | Info-search-whitespace-regexp) |
| 3261 | (Info-set-mode-line) | 3261 | (Info-set-mode-line) |
| 3262 | (run-hooks 'Info-mode-hook)) | 3262 | (run-mode-hooks 'Info-mode-hook)) |
| 3263 | 3263 | ||
| 3264 | ;; When an Info buffer is killed, make sure the associated tags buffer | 3264 | ;; When an Info buffer is killed, make sure the associated tags buffer |
| 3265 | ;; is killed too. | 3265 | ;; is killed too. |
| @@ -3301,7 +3301,7 @@ which returns to Info mode for browsing. | |||
| 3301 | (setq buffer-read-only nil) | 3301 | (setq buffer-read-only nil) |
| 3302 | (force-mode-line-update) | 3302 | (force-mode-line-update) |
| 3303 | (buffer-enable-undo (current-buffer)) | 3303 | (buffer-enable-undo (current-buffer)) |
| 3304 | (run-hooks 'Info-edit-mode-hook)) | 3304 | (run-mode-hooks 'Info-edit-mode-hook)) |
| 3305 | 3305 | ||
| 3306 | (defun Info-edit () | 3306 | (defun Info-edit () |
| 3307 | "Edit the contents of this Info node. | 3307 | "Edit the contents of this Info node. |