diff options
| author | Luc Teirlinck | 2005-05-22 22:01:22 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-22 22:01:22 +0000 |
| commit | 5f90d77ec8716a3753eaaaa2cff538c9f427dd3f (patch) | |
| tree | c665cba099e6c564e1356d43b081a858d06f0cfe | |
| parent | a0e8eaa34553e47fd22ba329f42e902f38415dbd (diff) | |
| download | emacs-5f90d77ec8716a3753eaaaa2cff538c9f427dd3f.tar.gz emacs-5f90d77ec8716a3753eaaaa2cff538c9f427dd3f.zip | |
(Buffer-menu-mode): Use `run-mode-hooks'.
| -rw-r--r-- | lisp/buff-menu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index a968d14a0a9..326fc54252b 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -190,7 +190,7 @@ Letters do not insert themselves; instead, they are commands. | |||
| 190 | #'(lambda (&optional noconfirm) 'fast)) | 190 | #'(lambda (&optional noconfirm) 'fast)) |
| 191 | (setq truncate-lines t) | 191 | (setq truncate-lines t) |
| 192 | (setq buffer-read-only t) | 192 | (setq buffer-read-only t) |
| 193 | (run-hooks 'buffer-menu-mode-hook)) | 193 | (run-mode-hooks 'buffer-menu-mode-hook)) |
| 194 | 194 | ||
| 195 | ;; This function exists so we can make the doc string of Buffer-menu-mode | 195 | ;; This function exists so we can make the doc string of Buffer-menu-mode |
| 196 | ;; look nice. | 196 | ;; look nice. |