]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 7b69330083d72c67bf6b38546237887b88684046..cf450c55612ff2d0050e337169fc590ff0464f7a 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 ab54b9da1386ca31830fe633c3aab3308ffff04d..e588964a65bb14d3e79df2c888e2a778de0aea34 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)))