diff lisp/bytecomp.el @ 4545:8775d3b54874

Merge after pull.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 29 Dec 2008 23:36:00 +0900
parents 061e030e3270
children a9f83990e6bf
line wrap: on
line diff
--- a/lisp/bytecomp.el	Mon Dec 29 21:49:01 2008 +0900
+++ b/lisp/bytecomp.el	Mon Dec 29 23:36:00 2008 +0900
@@ -1881,10 +1881,12 @@
   ;; 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 defconst autoload
+				   custom-declare-variable))
 	   (stringp (nth 3 form)))
       (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil
-				   (eq (car form) 'autoload))
+				   (memq (car form)
+					 '(autoload custom-declare-variable)))
     (let ((print-escape-newlines t)
 	  (print-length nil)
 	  (print-level nil)