* lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
commita7d630eb4895a392bcc0d9986d1ca5382a4f7b96
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 May 2015 02:18:19 +0000 (5 22:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 May 2015 02:18:19 +0000 (5 22:18 -0400)
treea7dba5dd168029652d5640cac86e5c97444c0563
parent0ed044dc1b524370f02f531b3b6fcc1ef45c395d
* lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)

(semantic-grammar--template-expand): New function.
(semantic-grammar-header, semantic-grammar-footer): Use it.
(semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
(semantic-grammar-file-regexp): Refine regexp.
(semantic-grammar-eldoc-get-macro-docstring):
Use elisp-get-fnsym-args-string when available.
(semantic-idle-summary-current-symbol-info): Use new elisp-* names
instead of the old eldoc-* names.

* lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
from elisp-mode.el.  Tweak calling convention.

* lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
(elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
elisp--get-fnsym-args-string.
(elisp--highlight-function-argument): Add `prefix' arg.
(elisp-get-var-docstring): Rename from elisp--get-var-docstring.
(elisp--docstring-format-sym-doc): Move back to eldoc.el.
lisp/cedet/semantic/grammar.el
lisp/emacs-lisp/eldoc.el
lisp/progmodes/elisp-mode.el