* minibuffer.el (completion-all-sorted-completions): Make args
authorLeo Liu <sdl.web@gmail.com>
Thu, 26 Sep 2013 00:46:29 +0000 (08:46 +0800)
committerLeo Liu <sdl.web@gmail.com>
Thu, 26 Sep 2013 00:46:29 +0000 (08:46 +0800)
optional as they are.

lisp/ChangeLog
lisp/minibuffer.el

index 7b69330..cf450c5 100644 (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
index ab54b9d..e588964 100644 (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)))