* lisp/bookmark.el (bookmark-completing-read): Set the completion category

to `bookmark'.

Fixes: debbugs:11131
This commit is contained in:
Stefan Monnier 2012-10-26 13:20:54 -04:00
parent c577256946
commit 372212dff2
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
* bookmark.el (bookmark-completing-read): Set the completion category
to `bookmark' (bug#11131).
2012-10-26 Bastien <bzg@altern.org>
Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -433,7 +433,11 @@ the empty string."
": ")))
(str
(completing-read prompt
bookmark-alist
(lambda (string pred action)
(if (eq action 'metadata)
'(metadata (category . bookmark))
(complete-with-action
action bookmark-alist string pred)))
nil
0
nil