From 3958758036f64a1c93728ab0a2cb9ea872c59e35 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Thu, 26 Sep 2013 08:46:29 +0800 Subject: [PATCH] * minibuffer.el (completion-all-sorted-completions): Make args optional as they are. --- lisp/ChangeLog | 5 +++++ lisp/minibuffer.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7b69330083d..cf450c55612 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-09-26 Leo Liu + + * minibuffer.el (completion-all-sorted-completions): Make args + optional as they are. + 2013-09-25 Daniel Colascione * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index ab54b9da138..e588964a65b 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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))) -- 2.39.2