Commit c4e36c26 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(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.
parent d9d31f0a
2007-09-26 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/eldoc.el (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.
2007-09-26 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
......
......@@ -480,7 +480,8 @@ The words \"&rest\", \"&optional\" are returned unchanged."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment