From: Lute Kamstra Date: Thu, 26 May 2005 12:28:39 +0000 (+0000) Subject: (bookmark-read-annotation-mode, bookmark-edit-annotation-mode) X-Git-Tag: emacs-pretest-22.0.90~9570 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f33cee8546e0f31ec1920b5db0559854a3502bad;p=emacs.git (bookmark-read-annotation-mode, bookmark-edit-annotation-mode) (bookmark-bmenu-mode): Use run-mode-hooks. --- 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)