&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-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)
(if (member s '("&optional" "&rest"))
s
(funcall eldoc-argument-case s)))
- (split-string argstring) " "))
+ (split-string argstring "[][ ()]+" t) " "))
+
\f
;; 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