diff options
author | Leo Liu <sdl.web@gmail.com> | 2013-09-26 08:46:29 +0800 |
---|---|---|
committer | Leo Liu <sdl.web@gmail.com> | 2013-09-26 08:46:29 +0800 |
commit | 3958758036f64a1c93728ab0a2cb9ea872c59e35 (patch) | |
tree | e3c78e306da55f6e681691a9c02ddd28b7ee7e1a /lisp/minibuffer.el | |
parent | 00578659268846921c6a5cf736dadc76bf66e9d5 (diff) | |
download | emacs-3958758036f64a1c93728ab0a2cb9ea872c59e35.tar.gz emacs-3958758036f64a1c93728ab0a2cb9ea872c59e35.tar.bz2 emacs-3958758036f64a1c93728ab0a2cb9ea872c59e35.zip |
* minibuffer.el (completion-all-sorted-completions): Make args
optional as they are.
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r-- | lisp/minibuffer.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |