]> git.eshelyaron.com Git - emacs.git/commitdiff
(bookmark-read-annotation-mode, bookmark-edit-annotation-mode)
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:28:39 +0000 (12:28 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:28:39 +0000 (12:28 +0000)
(bookmark-bmenu-mode): Use run-mode-hooks.

lisp/bookmark.el

index 0696f929584aa0b0efbae5ab244c026c4cb63b80..bbf9b3bcce4341490c553b92388d2ee5cdbfd5ad 100644 (file)
@@ -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)