* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.

* make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
This commit is contained in:
Dan Nicolaescu 2009-11-04 06:15:41 +00:00
parent 601dd9a3a9
commit f6195dfb58
4 changed files with 12 additions and 2 deletions

View file

@ -2077,7 +2077,7 @@ and will be removed soon. See (elisp)Backquote in the manual."))
;; defalias calls are output directly by byte-compile-file-form-defmumble;
;; it does not pay to first build the defalias in defmumble and then parse
;; it here.
(if (and (memq (car-safe form) '(defun defmacro defvar defconst autoload
(if (and (memq (car-safe form) '(defun defmacro defvar defvaralias defconst autoload
custom-declare-variable))
(stringp (nth 3 form)))
(byte-compile-output-docform nil nil '("\n(" 3 ")") form nil