Mercurial > emacs
changeset 84940:8c8a527e7004
(eldoc-function-argstring-format): Deal with the case that special
&keywords are at the beginning or end of the argument list.
Also add some (incomplete) support for non-standard arglists.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 26 Sep 2007 15:58:34 +0000 |
parents | 1ab291a013d4 |
children | 89bab9e0761d |
files | lisp/emacs-lisp/eldoc.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/eldoc.el Wed Sep 26 11:55:46 2007 +0000 +++ b/lisp/emacs-lisp/eldoc.el Wed Sep 26 15:58:34 2007 +0000 @@ -480,7 +480,8 @@ (if (member s '("&optional" "&rest")) s (funcall eldoc-argument-case s))) - (split-string argstring) " ")) + (split-string argstring "[][ ()]+" t) " ")) + ;; When point is in a sexp, the function args are not reprinted in the echo ;; area after every possible interactive command because some of them print