* minibuffer.el (completion-all-sorted-completions): Make args

optional as they are.
This commit is contained in:
Leo Liu 2013-09-26 08:46:29 +08:00
parent 0057865926
commit 3958758036
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-09-26 Leo Liu <sdl.web@gmail.com>
* minibuffer.el (completion-all-sorted-completions): Make args
optional as they are.
2013-09-25 Daniel Colascione <dancol@dancol.org>
* emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type

View file

@ -1100,7 +1100,7 @@ scroll the window of possible completions."
(if (eq (car bounds) base) md-at-point
(completion-metadata (substring string 0 base) table pred))))
(defun completion-all-sorted-completions (start end)
(defun completion-all-sorted-completions (&optional start end)
(or completion-all-sorted-completions
(let* ((start (or start (minibuffer-prompt-end)))
(end (or end (point-max)))