aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/cl-lib.el3
-rw-r--r--lisp/emacs-lisp/cl-macs.el3
-rw-r--r--lisp/help-fns.el2
4 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8d9c85c1326..97e9965c6b9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12012-10-11 Stefan Monnier <monnier@iro.umontreal.ca> 12012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Move autoload...
5 * emacs-lisp/cl-macs.el (cl--defsubst-expand): ...here.
6
3 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago 7 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4 changes to the format of load-history. 8 changes to the format of load-history.
5 9
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
index 2eda628e262..802d25b097a 100644
--- a/lisp/emacs-lisp/cl-lib.el
+++ b/lisp/emacs-lisp/cl-lib.el
@@ -727,9 +727,6 @@ If ALIST is non-nil, the new pairs are prepended to it."
727 727
728;;;###autoload 728;;;###autoload
729(progn 729(progn
730 ;; Make sure functions defined with cl-defsubst can be inlined even in
731 ;; packages which do not require CL.
732 (autoload 'cl--defsubst-expand "cl-macs")
733 ;; Autoload, so autoload.el and font-lock can use it even when CL 730 ;; Autoload, so autoload.el and font-lock can use it even when CL
734 ;; is not loaded. 731 ;; is not loaded.
735 (put 'cl-defun 'doc-string-elt 3) 732 (put 'cl-defun 'doc-string-elt 3)
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 592c33d21c5..1a701e9047a 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2595,6 +2595,9 @@ surrounded by (cl-block NAME ...).
2595 ,(and (memq '&key args) 'cl-whole) ,unsafe ,@argns))) 2595 ,(and (memq '&key args) 'cl-whole) ,unsafe ,@argns)))
2596 (cl-defun ,name ,args ,@body)))) 2596 (cl-defun ,name ,args ,@body))))
2597 2597
2598;; Make sure functions defined with cl-defsubst can be inlined even in
2599;; packages which do not require CL.
2600;;;###autoload
2598(defun cl--defsubst-expand (argns body simple whole unsafe &rest argvs) 2601(defun cl--defsubst-expand (argns body simple whole unsafe &rest argvs)
2599 (if (and whole (not (cl--safe-expr-p (cons 'progn argvs)))) whole 2602 (if (and whole (not (cl--safe-expr-p (cons 'progn argvs)))) whole
2600 (if (cl--simple-exprs-p argvs) (setq simple t)) 2603 (if (cl--simple-exprs-p argvs) (setq simple t))
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index ef482f8f0e9..f17b29de720 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -621,7 +621,7 @@ FILE is the file where FUNCTION was probably defined."
621 ;; If the function is autoloaded, and its docstring has 621 ;; If the function is autoloaded, and its docstring has
622 ;; key substitution constructs, load the library. 622 ;; key substitution constructs, load the library.
623 (doc (progn 623 (doc (progn
624 (and (autoloadp real-def) 624 (and (autoloadp real-def) doc-raw
625 help-enable-auto-load 625 help-enable-auto-load
626 (string-match "\\([^\\]=\\|[^=]\\|\\`\\)\\\\[[{<]" 626 (string-match "\\([^\\]=\\|[^=]\\|\\`\\)\\\\[[{<]"
627 doc-raw) 627 doc-raw)