]> git.eshelyaron.com Git - emacs.git/commitdiff
(crm-minibuffer-completion-help):
authorJuri Linkov <juri@jurta.org>
Fri, 16 Dec 2005 19:09:43 +0000 (19:09 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 16 Dec 2005 19:09:43 +0000 (19:09 +0000)
Use `crm-current-element' for second arg of `display-completion-list'.

lisp/emacs-lisp/crm.el

index 46ae6186e44739a715f5ddf0e80bf78795956740..12f0788a0deaecb239b81b66340fe2c7427d8622 100644 (file)
@@ -247,7 +247,9 @@ and return t."
       (if (null completions)
          (crm-temp-echo-area-glyphs " [No completions]")
        (with-output-to-temp-buffer "*Completions*"
-         (display-completion-list (sort completions 'string-lessp))))))
+         (display-completion-list
+          (sort completions 'string-lessp)
+          crm-current-element)))))
   nil)
 
 (defun crm-do-completion ()