mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
(bookmark-get-bookmark): Use assoc-string.
This commit is contained in:
parent
52f2cda2f4
commit
d09596261d
@ -335,10 +335,7 @@ through a file easier.")
|
||||
"Return the full entry for BOOKMARK in bookmark-alist.
|
||||
If BOOKMARK is not a string, return nil."
|
||||
(when (stringp bookmark)
|
||||
(apply (if bookmark-completion-ignore-case
|
||||
#'assoc-ignore-case
|
||||
#'assoc)
|
||||
(list bookmark bookmark-alist))))
|
||||
(assoc-string bookmark bookmark-alist bookmark-completion-ignore-case)))
|
||||
|
||||
|
||||
(defun bookmark-get-bookmark-record (bookmark)
|
||||
|
Loading…
x
Reference in New Issue
Block a user