# HG changeset patch # User Karl Heuer # Date 820798104 0 # Node ID 8fd836e88aecfafc1e5fb797bbc39837024a84da # Parent cc71d8efd94866a083a2426aefa7b9f65e5aedb6 (bookmark-save-flag, bookmark-read-annotation-text-func, bookmark-rename, bookmark-bmenu-mode, bookmark-menu-rename): Doc fix. diff -r cc71d8efd948 -r 8fd836e88aec lisp/bookmark.el --- a/lisp/bookmark.el Thu Jan 04 23:27:50 1996 +0000 +++ b/lisp/bookmark.el Thu Jan 04 23:28:24 1996 +0000 @@ -110,7 +110,7 @@ --> Nil means never save bookmarks, except when `bookmark-save' is explicitly called \(\\[bookmark-save]\). --> t means save bookmarks when Emacs is killed. ---> Otherise, it should be a number that is the frequency with which +--> Otherwise, it should be a number that is the frequency with which the bookmark list is saved \(i.e.: the number of times which Emacs' bookmark list may be modified before it is automatically saved.\). If it is a number, Emacs will also automatically save @@ -503,7 +503,7 @@ ;; free-standing strings, apparently. (set-text-properties 0 (length stripped-name) nil stripped-name)) (if (and (bookmark-get-bookmark stripped-name) (not overwrite)) - ;; already existing boookmark under that name and + ;; already existing bookmark under that name and ;; no prefix arg means just overwrite old bookmark (setcdr (bookmark-get-bookmark stripped-name) (list (bookmark-make-cell annotation))) @@ -831,7 +831,7 @@ (defvar bookmark-read-annotation-text-func 'bookmark-default-annotation-text "A variable containing a function which returns the text to insert -into an annotation compisition buffer. It takes the name of the bookmark, +into an annotation composition buffer. It takes the name of the bookmark, as a string, as an arg.") @@ -1166,7 +1166,7 @@ must pass at least OLD when calling from Lisp. While you are entering the new name, consecutive C-w's insert -consectutive words from the text of the buffer into the new bookmark +consecutive words from the text of the buffer into the new bookmark name." (interactive (bookmark-completing-read "Old bookmark name")) (bookmark-maybe-historicize-string old) @@ -1231,7 +1231,7 @@ (let ((will-go (bookmark-get-bookmark bookmark))) (setq bookmark-alist (delq will-go bookmark-alist)) ;; Added by db, nil bookmark-current-bookmark if the last - ;; occurence has been deleted + ;; occurrence has been deleted (or (bookmark-get-bookmark bookmark-current-bookmark) (setq bookmark-current-bookmark nil))) ;; Don't rebuild the list @@ -1471,7 +1471,7 @@ (bookmark-maybe-sort-alist) (mapcar (lambda (full-record) - ;; if a bookmark has an annotation, preceed it with a "*" + ;; if a bookmark has an annotation, prepend a "*" ;; in the list of bookmarks. (let ((annotation (bookmark-get-annotation (bookmark-name-from-full-record full-record)))) @@ -1498,7 +1498,7 @@ "Major mode for editing a list of bookmarks. Each line describes one of the bookmarks in Emacs. Letters do not insert themselves; instead, they are commands. -Bookmark names preceeded by a \"*\" have annotations. +Bookmark names preceded by a \"*\" have annotations. \\ \\[bookmark-bmenu-mark] -- mark bookmark to be displayed. \\[bookmark-bmenu-select] -- select bookmark of line point is on. @@ -2092,7 +2092,7 @@ is done. You must pass at least OLD-BOOKMARK when calling from Lisp. While you are entering the new name, consecutive C-w's insert -consectutive words from the text of the buffer into the new bookmark +consecutive words from the text of the buffer into the new bookmark name. Warning: this function only takes an EVENT as argument. Use the