diff options
| author | Juanma Barranquero | 2007-09-25 10:43:39 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-25 10:43:39 +0000 |
| commit | 768656652ff7f4055700ed9f23c4b4a9e64176ba (patch) | |
| tree | 0325f681a27014448cf635e7a88855ea917c572e | |
| parent | 6fd09e198480167b8a3baa8c8f0b7543706eb2d9 (diff) | |
| download | emacs-768656652ff7f4055700ed9f23c4b4a9e64176ba.tar.gz emacs-768656652ff7f4055700ed9f23c4b4a9e64176ba.zip | |
(bookmark-bmenu-list, bookmark-show-all-annotations):
Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/bookmark.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 47a1d651598..184f9de518c 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -1585,7 +1585,7 @@ deletion, or > if it is flagged for displaying." | |||
| 1585 | (insert "% Bookmark\n- --------\n") | 1585 | (insert "% Bookmark\n- --------\n") |
| 1586 | (add-text-properties (point-min) (point) | 1586 | (add-text-properties (point-min) (point) |
| 1587 | '(font-lock-face bookmark-menu-heading)) | 1587 | '(font-lock-face bookmark-menu-heading)) |
| 1588 | (mapcar | 1588 | (mapc |
| 1589 | (lambda (full-record) | 1589 | (lambda (full-record) |
| 1590 | ;; if a bookmark has an annotation, prepend a "*" | 1590 | ;; if a bookmark has an annotation, prepend a "*" |
| 1591 | ;; in the list of bookmarks. | 1591 | ;; in the list of bookmarks. |
| @@ -1802,7 +1802,7 @@ if an annotation exists." | |||
| 1802 | (let ((old-buf (current-buffer))) | 1802 | (let ((old-buf (current-buffer))) |
| 1803 | (pop-to-buffer (get-buffer-create "*Bookmark Annotation*") t) | 1803 | (pop-to-buffer (get-buffer-create "*Bookmark Annotation*") t) |
| 1804 | (delete-region (point-min) (point-max)) | 1804 | (delete-region (point-min) (point-max)) |
| 1805 | (mapcar | 1805 | (mapc |
| 1806 | (lambda (full-record) | 1806 | (lambda (full-record) |
| 1807 | (let* ((name (bookmark-name-from-full-record full-record)) | 1807 | (let* ((name (bookmark-name-from-full-record full-record)) |
| 1808 | (ann (bookmark-get-annotation name))) | 1808 | (ann (bookmark-get-annotation name))) |