Skip to content

Commit

Permalink
(bookmark-get-bookmark): Use assoc-ignore-case if
Browse files Browse the repository at this point in the history
bookmark-completion-ignore-case it t.
  • Loading branch information
Gerd Moellmann committed Mar 6, 2001
1 parent 074a888 commit d97e0d7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lisp/bookmark.el
@@ -1,6 +1,6 @@
;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later.

;; Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation
;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 2001 Free Software Foundation

;; Author: Karl Fogel <kfogel@red-bean.com>
;; Maintainer: Karl Fogel <kfogel@red-bean.com>
Expand Down Expand Up @@ -346,7 +346,10 @@ through a file easier.")

(defun bookmark-get-bookmark (bookmark)
"Return the full entry for BOOKMARK in bookmark-alist."
(assoc bookmark bookmark-alist))
(apply (if bookmark-completion-ignore-case
#'assoc-ignore-case
#'assoc)
(list bookmark bookmark-alist)))


(defun bookmark-get-bookmark-record (bookmark)
Expand Down

0 comments on commit d97e0d7

Please sign in to comment.