Mercurial > emacs
changeset 62718:d00be6e651cd
(bookmark-read-annotation-mode, bookmark-edit-annotation-mode)
(bookmark-bmenu-mode): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 12:28:39 +0000 |
parents | 5aa3c60503e2 |
children | d4ea8aadf0ab |
files | lisp/bookmark.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/bookmark.el Thu May 26 12:24:05 2005 +0000 +++ b/lisp/bookmark.el Thu May 26 12:28:39 2005 +0000 @@ -866,7 +866,7 @@ (use-local-map bookmark-read-annotation-mode-map) (setq major-mode 'bookmark-read-annotation-mode) (insert (funcall bookmark-read-annotation-text-func bookmark)) - (run-hooks 'text-mode-hook)) + (run-mode-hooks 'text-mode-hook)) (defun bookmark-read-annotation (parg bookmark) @@ -903,7 +903,7 @@ (let ((annotation (bookmark-get-annotation bookmark))) (if (and annotation (not (string-equal annotation ""))) (insert annotation))) - (run-hooks 'text-mode-hook)) + (run-mode-hooks 'text-mode-hook)) (defun bookmark-send-edited-annotation () @@ -1618,7 +1618,7 @@ (setq buffer-read-only t) (setq major-mode 'bookmark-bmenu-mode) (setq mode-name "Bookmark Menu") - (run-hooks 'bookmark-bmenu-mode-hook)) + (run-mode-hooks 'bookmark-bmenu-mode-hook)) (defun bookmark-bmenu-toggle-filenames (&optional show)