Commit c60ed872 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/cedet/semantic/util.el (semantic-complete-symbol):

Replace use of obsolete argument of display-completion-list.
parent d82e752c
2014-03-04 Glenn Morris <rgm@gnu.org>
* semantic/util.el (semantic-complete-symbol):
Replace use of obsolete argument of display-completion-list.
2014-02-03 Glenn Morris <rgm@gnu.org>
* semantic/senator.el (senator-copy-tag-to-register):
......
......@@ -419,7 +419,8 @@ determining which symbols are considered."
(setq list (sort list 'string<))
(if (> (length list) 1)
(with-output-to-temp-buffer "*Completions*"
(display-completion-list list pattern))
(display-completion-list
(completion-hilit-commonality list (length pattern) nil)))
;; Bury any out-of-date completions buffer.
(let ((win (get-buffer-window "*Completions*" 0)))
(if win (with-selected-window win (bury-buffer))))))
......
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