diff options
| author | Karl Heuer | 1996-01-25 06:02:21 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-25 06:02:21 +0000 |
| commit | a3ad20c239576b35d1365e2f59b2d7cef91e0d46 (patch) | |
| tree | 2e3e2cff39406c6041b67cb5c43447f3da750d9e | |
| parent | 3c190163d271e86a274d97c20bd6e6f88b18a08a (diff) | |
| download | emacs-a3ad20c239576b35d1365e2f59b2d7cef91e0d46.tar.gz emacs-a3ad20c239576b35d1365e2f59b2d7cef91e0d46.zip | |
(bookmark-alist-from-buffer): Fix error text.
(bookmark-maybe-upgrade-file-format, bookmark-set): Likewise.
(bookmark-send-annotation, bookmark-send-edited-annotation): Likewise.
(bookmark-load): Delete redundant format call.
| -rw-r--r-- | lisp/bookmark.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 8759118191f..e3fbe7c41fc 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -622,7 +622,7 @@ affect point." | |||
| 622 | (forward-char -1) | 622 | (forward-char -1) |
| 623 | (read (current-buffer))) | 623 | (read (current-buffer))) |
| 624 | ;; Else no hope of getting information here. | 624 | ;; Else no hope of getting information here. |
| 625 | (error "Not bookmark format."))))) | 625 | (error "Not bookmark format"))))) |
| 626 | 626 | ||
| 627 | 627 | ||
| 628 | (defun bookmark-upgrade-version-0-alist (old-list) | 628 | (defun bookmark-upgrade-version-0-alist (old-list) |
| @@ -688,7 +688,7 @@ This expects to be called from point-min in a bookmark file." | |||
| 688 | ((= version 0) | 688 | ((= version 0) |
| 689 | (bookmark-upgrade-file-format-from-0)) | 689 | (bookmark-upgrade-file-format-from-0)) |
| 690 | (t | 690 | (t |
| 691 | (error "Bookmark file format version strangeness."))))) | 691 | (error "Bookmark file format version strangeness"))))) |
| 692 | 692 | ||
| 693 | 693 | ||
| 694 | (defun bookmark-insert-file-format-version-stamp () | 694 | (defun bookmark-insert-file-format-version-stamp () |
| @@ -733,7 +733,7 @@ the list of bookmarks.\)" | |||
| 733 | (interactive (list nil current-prefix-arg)) | 733 | (interactive (list nil current-prefix-arg)) |
| 734 | (or | 734 | (or |
| 735 | (bookmark-buffer-file-name) | 735 | (bookmark-buffer-file-name) |
| 736 | (error "Buffer not visiting a file or directory.")) | 736 | (error "Buffer not visiting a file or directory")) |
| 737 | 737 | ||
| 738 | (bookmark-maybe-load-default-file) | 738 | (bookmark-maybe-load-default-file) |
| 739 | 739 | ||
| @@ -793,7 +793,7 @@ as the annotation for a bookmark, and store it in the bookmark list with | |||
| 793 | the bookmark (and file, and point) specified in buffer local variables." | 793 | the bookmark (and file, and point) specified in buffer local variables." |
| 794 | (interactive) | 794 | (interactive) |
| 795 | (if (not (eq major-mode 'bookmark-read-annotation-mode)) | 795 | (if (not (eq major-mode 'bookmark-read-annotation-mode)) |
| 796 | (error "Not in bookmark-read-annotation-mode.")) | 796 | (error "Not in bookmark-read-annotation-mode")) |
| 797 | (goto-char (point-min)) | 797 | (goto-char (point-min)) |
| 798 | (while (< (point) (point-max)) | 798 | (while (< (point) (point-max)) |
| 799 | (if (looking-at "^#") | 799 | (if (looking-at "^#") |
| @@ -902,7 +902,7 @@ When you have finished composing, type \\[bookmark-send-annotation]. | |||
| 902 | as the new annotation for a bookmark." | 902 | as the new annotation for a bookmark." |
| 903 | (interactive) | 903 | (interactive) |
| 904 | (if (not (eq major-mode 'bookmark-edit-annotation-mode)) | 904 | (if (not (eq major-mode 'bookmark-edit-annotation-mode)) |
| 905 | (error "Not in bookmark-edit-annotation-mode.")) | 905 | (error "Not in bookmark-edit-annotation-mode")) |
| 906 | (goto-char (point-min)) | 906 | (goto-char (point-min)) |
| 907 | (while (< (point) (point-max)) | 907 | (while (< (point) (point-max)) |
| 908 | (if (looking-at "^#") | 908 | (if (looking-at "^#") |
| @@ -1375,11 +1375,11 @@ explicitly." | |||
| 1375 | (setq bookmark-alist | 1375 | (setq bookmark-alist |
| 1376 | (append blist (if (not revert) bookmark-alist))) | 1376 | (append blist (if (not revert) bookmark-alist))) |
| 1377 | (bookmark-bmenu-surreptitiously-rebuild-list)) | 1377 | (bookmark-bmenu-surreptitiously-rebuild-list)) |
| 1378 | (error (format "Invalid bookmark list in %s." file)))) | 1378 | (error "Invalid bookmark list in %s" file))) |
| 1379 | (kill-buffer (current-buffer))) | 1379 | (kill-buffer (current-buffer))) |
| 1380 | (if (and (null no-msg) (>= baud-rate 9600)) | 1380 | (if (and (null no-msg) (>= baud-rate 9600)) |
| 1381 | (message "Loading bookmarks from %s...done" file))) | 1381 | (message "Loading bookmarks from %s...done" file))) |
| 1382 | (error (format "Cannot read bookmark file %s." file)))) | 1382 | (error "Cannot read bookmark file %s" file))) |
| 1383 | 1383 | ||
| 1384 | 1384 | ||
| 1385 | 1385 | ||