diff options
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/nadvice.el | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 4c19197024d..4df8743de50 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -2076,7 +2076,7 @@ If FUNCTION was not advised already, its advice info will be | |||
| 2076 | initialized. Redefining a piece of advice whose name is part of | 2076 | initialized. Redefining a piece of advice whose name is part of |
| 2077 | the cache-id will clear the cache." | 2077 | the cache-id will clear the cache." |
| 2078 | (when (subr-primitive-p (symbol-function function)) | 2078 | (when (subr-primitive-p (symbol-function function)) |
| 2079 | (comp--subr-safe-advice function)) | 2079 | (comp-subr-safe-advice function)) |
| 2080 | (cond ((not (ad-is-advised function)) | 2080 | (cond ((not (ad-is-advised function)) |
| 2081 | (ad-initialize-advice-info function) | 2081 | (ad-initialize-advice-info function) |
| 2082 | (ad-set-advice-info-field | 2082 | (ad-set-advice-info-field |
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 07b0ccee3cb..cac63a59785 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -2595,7 +2595,7 @@ Return the its filename if found or nil otherwise." | |||
| 2595 | comp-native-version-dir))))) | 2595 | comp-native-version-dir))))) |
| 2596 | 2596 | ||
| 2597 | ;;;###autoload | 2597 | ;;;###autoload |
| 2598 | (defun comp--subr-safe-advice (subr-name) | 2598 | (defun comp-subr-safe-advice (subr-name) |
| 2599 | "Make SUBR-NAME effectively advice-able when called from native code." | 2599 | "Make SUBR-NAME effectively advice-able when called from native code." |
| 2600 | (unless (or (memq subr-name comp-never-optimize-functions) | 2600 | (unless (or (memq subr-name comp-never-optimize-functions) |
| 2601 | (gethash subr-name comp-installed-trampolines-h)) | 2601 | (gethash subr-name comp-installed-trampolines-h)) |
diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el index 32b5df8f261..5b3aa708508 100644 --- a/lisp/emacs-lisp/nadvice.el +++ b/lisp/emacs-lisp/nadvice.el | |||
| @@ -333,7 +333,7 @@ is also interactive. There are 3 cases: | |||
| 333 | ;; Must require explicitly as during bootstrap we have no | 333 | ;; Must require explicitly as during bootstrap we have no |
| 334 | ;; autoloads. | 334 | ;; autoloads. |
| 335 | (require 'comp) | 335 | (require 'comp) |
| 336 | (comp--subr-safe-advice subr-name)))) | 336 | (comp-subr-safe-advice subr-name)))) |
| 337 | (let* ((name (cdr (assq 'name props))) | 337 | (let* ((name (cdr (assq 'name props))) |
| 338 | (a (advice--member-p (or name function) (if name t) (gv-deref ref)))) | 338 | (a (advice--member-p (or name function) (if name t) (gv-deref ref)))) |
| 339 | (when a | 339 | (when a |