aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-06 15:36:19 +0000
committerGerd Moellmann2001-03-06 15:36:19 +0000
commit7e72649221218795dade3f5b97785a2db2a96dd8 (patch)
tree0edf2974ab0a9ccb011cc00d5266f41109457463
parent0a61c6670121b9493e39ff93c36fe96f7c9aba8e (diff)
downloademacs-7e72649221218795dade3f5b97785a2db2a96dd8.tar.gz
emacs-7e72649221218795dade3f5b97785a2db2a96dd8.zip
(bookmark-get-bookmark): Use assoc-ignore-case if
bookmark-completion-ignore-case it t.
-rw-r--r--lisp/bookmark.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 55c37fd027b..ad43d0feae9 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1,6 +1,6 @@
1;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later. 1;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later.
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 2001 Free Software Foundation
4 4
5;; Author: Karl Fogel <kfogel@red-bean.com> 5;; Author: Karl Fogel <kfogel@red-bean.com>
6;; Maintainer: Karl Fogel <kfogel@red-bean.com> 6;; Maintainer: Karl Fogel <kfogel@red-bean.com>
@@ -346,7 +346,10 @@ through a file easier.")
346 346
347(defun bookmark-get-bookmark (bookmark) 347(defun bookmark-get-bookmark (bookmark)
348 "Return the full entry for BOOKMARK in bookmark-alist." 348 "Return the full entry for BOOKMARK in bookmark-alist."
349 (assoc bookmark bookmark-alist)) 349 (apply (if bookmark-completion-ignore-case
350 #'assoc-ignore-case
351 #'assoc)
352 (list bookmark bookmark-alist)))
350 353
351 354
352(defun bookmark-get-bookmark-record (bookmark) 355(defun bookmark-get-bookmark-record (bookmark)