Commit fd4489f0 authored by Chong Yidong's avatar Chong Yidong
Browse files

* bookmark.el (bookmark-completing-read): Sort bookmark names if

bookmark-sort-flag is non-nil (Bug#4653).
parent 9bf7dc8a
2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
* bookmark.el (bookmark-completing-read): Sort bookmark names if
bookmark-sort-flag is non-nil (Bug#4653).
2009-11-08 Chong Yidong <cyd@stupidchicken.com>
* cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
......
......@@ -459,7 +459,11 @@ Optional second arg DEFAULT is a string to return if the user enters
the empty string."
(bookmark-maybe-load-default-file) ; paranoia
(if (listp last-nonmenu-event)
(bookmark-menu-popup-paned-menu t prompt (bookmark-all-names))
(bookmark-menu-popup-paned-menu t prompt
(if bookmark-sort-flag
(sort (bookmark-all-names)
'string-lessp)
(bookmark-all-names)))
(let* ((completion-ignore-case bookmark-completion-ignore-case)
(default default)
(prompt (concat prompt (if default
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment