(bookmark-get-bookmark): Use assoc-string.
This commit is contained in:
parent
52f2cda2f4
commit
d09596261d
1 changed files with 1 additions and 4 deletions
|
@ -335,10 +335,7 @@ through a file easier.")
|
||||||
"Return the full entry for BOOKMARK in bookmark-alist.
|
"Return the full entry for BOOKMARK in bookmark-alist.
|
||||||
If BOOKMARK is not a string, return nil."
|
If BOOKMARK is not a string, return nil."
|
||||||
(when (stringp bookmark)
|
(when (stringp bookmark)
|
||||||
(apply (if bookmark-completion-ignore-case
|
(assoc-string bookmark bookmark-alist bookmark-completion-ignore-case)))
|
||||||
#'assoc-ignore-case
|
|
||||||
#'assoc)
|
|
||||||
(list bookmark bookmark-alist))))
|
|
||||||
|
|
||||||
|
|
||||||
(defun bookmark-get-bookmark-record (bookmark)
|
(defun bookmark-get-bookmark-record (bookmark)
|
||||||
|
|
Loading…
Add table
Reference in a new issue