summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/advice.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-12-06 18:07:27 +0100
committerAndrea Corallo <akrl@sdf.org>2020-12-06 18:07:27 +0100
commit715a1ca1744f9a5918376bf7662c81302f0b20c0 (patch)
treee6ea1ac67e88ead92df65087d3f41b8e544f5e86 /lisp/emacs-lisp/advice.el
parent27f666e111a34d64de81a214024e1e30928b416e (diff)
parent40e11743ca3803bdc2c6c612f35ab695efb3eb8b (diff)
downloademacs-715a1ca1744f9a5918376bf7662c81302f0b20c0.tar.gz
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r--lisp/emacs-lisp/advice.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index e16ce9fded8..4c9d709697c 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -1840,8 +1840,7 @@ function at point for which PREDICATE returns non-nil)."
(or default
;; Prefer func name at point, if it's an advised function etc.
(let ((function (progn
- (require 'help)
- (function-called-at-point))))
+ (function-called-at-point))))
(and function
(member (symbol-name function) ad-advised-functions)
(or (null predicate)
@@ -2229,8 +2228,6 @@ For that it has to be fbound with a non-autoload definition."
(let ((byte-compile-warnings byte-compile-warnings)
;; Don't pop up windows showing byte-compiler warnings.
(warning-suppress-types '((bytecomp))))
- (if (featurep 'cl)
- (byte-compile-disable-warning 'cl-functions))
(byte-compile (ad-get-advice-info-field function 'advicefunname))))
;; @@@ Accessing argument lists: