diff lisp/bookmark.el @ 6287:33477d79a6f2

(kill-emacs-hook): Don't autoload this hook. (bookmark-menu-bar-delete, bookmark-menu-bar-rename) (bookmark-menu-bar-locate, bookmark-menu-bar-jump) (bookmark-menu-bar-insert): Add autoloads.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Mar 1994 07:32:24 +0000
parents 1b76cf849b2f
children cc7cd83ccf3f
line wrap: on
line diff
--- a/lisp/bookmark.el	Thu Mar 10 07:27:32 1994 +0000
+++ b/lisp/bookmark.el	Thu Mar 10 07:32:24 1994 +0000
@@ -161,7 +161,6 @@
 
 ;; just add the hook to make sure that people don't lose bookmarks
 ;; when they kill Emacs, unless they don't want to save them.
-;;;###autoload
 (add-hook 'kill-emacs-hook
           (function
            (lambda () (and (featurep 'bookmark)
@@ -1188,6 +1187,7 @@
                                   (cons menu-str menu)))))
     (if str (apply func-sym (list str)))))
 
+;;;###autoload
 (defun bookmark-menu-bar-insert (event)
   "Insert the text of the file pointed to by bookmark BOOKMARK.  
 You may have a problem using this function if the value of variable
@@ -1200,6 +1200,7 @@
                                         "--- Insert Contents ---"
                                         event))
 
+;;;###autoload
 (defun bookmark-menu-bar-jump (event)
   "Jump to bookmark BOOKMARK (a point in some file).  
 You may have a problem using this function if the value of variable
@@ -1212,6 +1213,7 @@
                                         "--- Jump to Bookmark ---"
                                         event))
 
+;;;###autoload
 (defun bookmark-menu-bar-locate (event)
   "Insert the name of the  file associated with BOOKMARK. 
 \(This is not the same as the contents of that file\)."
@@ -1221,6 +1223,7 @@
                                         "--- Insert Location ---"
                                         event))
 
+;;;###autoload
 (defun bookmark-menu-bar-rename (event)
   "Change the name of OLD-BOOKMARK to NEWNAME.  
 If called from keyboard, prompts for OLD-BOOKMARK and NEWNAME.
@@ -1239,6 +1242,7 @@
                                         "--- Rename Bookmark ---"
                                         event))
 
+;;;###autoload
 (defun bookmark-menu-bar-delete (event)
   "Delete the bookmark named NAME from the bookmark list.  
 Removes only the first instance of a bookmark with that name.  If