diff options
author | Lute Kamstra <lute@gnu.org> | 2005-05-26 12:28:39 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-05-26 12:28:39 +0000 |
commit | f33cee8546e0f31ec1920b5db0559854a3502bad (patch) | |
tree | a4dda873be1e7c0f3949102849177c777ca313f7 /lisp/bookmark.el | |
parent | 562f26cb58ef115f9eff571ec2daa719ac5a20b9 (diff) | |
download | emacs-f33cee8546e0f31ec1920b5db0559854a3502bad.tar.gz |
(bookmark-read-annotation-mode, bookmark-edit-annotation-mode)
(bookmark-bmenu-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r-- | lisp/bookmark.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 0696f929584..bbf9b3bcce4 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -866,7 +866,7 @@ the annotation. (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 @@ When you have finished composing, type \\[bookmark-send-annotation]. (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 @@ Bookmark names preceded by a \"*\" have annotations. (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) |