aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--lisp/help-fns.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index a0e124bcf1b..b1410fc2646 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3416,7 +3416,7 @@ lambda-expression."
3416 (let* ((fn (car form)) 3416 (let* ((fn (car form))
3417 (handler (get fn 'byte-compile)) 3417 (handler (get fn 'byte-compile))
3418 (interactive-only 3418 (interactive-only
3419 (or (get fn 'interactive-only) 3419 (or (function-get fn 'interactive-only)
3420 (memq fn byte-compile-interactive-only-functions)))) 3420 (memq fn byte-compile-interactive-only-functions))))
3421 (when (memq fn '(set symbol-value run-hooks ;; add-to-list 3421 (when (memq fn '(set symbol-value run-hooks ;; add-to-list
3422 add-hook remove-hook run-hook-with-args 3422 add-hook remove-hook run-hook-with-args
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 1172f068934..84266e02901 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -769,7 +769,7 @@ the C sources, too."
769 (and (symbolp function) 769 (and (symbolp function)
770 (not (eq (car-safe (symbol-function function)) 'macro)) 770 (not (eq (car-safe (symbol-function function)) 'macro))
771 (let* ((interactive-only 771 (let* ((interactive-only
772 (or (get function 'interactive-only) 772 (or (function-get function 'interactive-only)
773 (if (boundp 'byte-compile-interactive-only-functions) 773 (if (boundp 'byte-compile-interactive-only-functions)
774 (memq function 774 (memq function
775 byte-compile-interactive-only-functions))))) 775 byte-compile-interactive-only-functions)))))