summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-02-05 14:28:16 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2015-02-05 14:28:16 -0500
commitad5a7c86d017ce8e9ff1312331ef09181be823bf (patch)
treef8382a7c42f6844bacf48f03d9480ba8134ba6cc /lisp/emacs-lisp/easy-mmode.el
parent10927c1a0f39d527d9ea1fc4605a0ef400bdff4a (diff)
downloademacs-ad5a7c86d017ce8e9ff1312331ef09181be823bf.tar.gz
emacs-ad5a7c86d017ce8e9ff1312331ef09181be823bf.tar.bz2
emacs-ad5a7c86d017ce8e9ff1312331ef09181be823bf.zip
Add (:documentation <form>) for dynamically-generated docstrings
* lisp/emacs-lisp/bytecomp.el: (byte-compile-initial-macro-environment): Use macroexp-progn. (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all. (byte-compile-file-form-defvar-function): Rename from byte-compile-file-form-define-abbrev-table. (defvaralias, byte-compile-file-form-custom-declare-variable): Use it. (byte-compile): Use byte-compile-top-level rather than byte-compile-lambda so we can compile non-values. (byte-compile-form): Add warnings for failed uses of lexical vars via quoted symbols. (byte-compile-unfold-bcf): Improve message for failed inlining. (byte-compile-make-closure): Handle new format of internal-make-closure for dynamically-generated docstrings. * lisp/emacs-lisp/cconv.el (cconv--convert-function): Add `docstring' argument. (cconv-convert): Use it to handle the new (:documentation ...) form. (cconv-analyze-form): Handle the new (:documentation ...) form. * src/eval.c (Ffunction): Handle the new (:documentation ...) form. (syms_of_eval): Declare `:documentation'.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions