Function: bookmark-import-new-list
bookmark-import-new-list is a byte-compiled function defined in
bookmark.el.gz.
Signature
(bookmark-import-new-list NEW-LIST)
Documentation
Add NEW-LIST of bookmarks to bookmark-alist.
Rename new bookmarks as needed using suffix "<N>" (N=1,2,3...), when they conflict with existing bookmark names.
Source Code
;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-import-new-list (new-list)
"Add NEW-LIST of bookmarks to `bookmark-alist'.
Rename new bookmarks as needed using suffix \"<N>\" (N=1,2,3...), when
they conflict with existing bookmark names."
(let ((names (bookmark-all-names)))
(dolist (full-record new-list)
(bookmark-maybe-rename full-record names)
(setq bookmark-alist (nconc bookmark-alist (list full-record)))
(push (bookmark-name-from-full-record full-record) names))))