summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-09-23 22:01:45 +0200
committerAndrea Corallo <akrl@sdf.org>2020-09-24 09:57:17 +0200
commite5b052d60d905209c6cefcf18c620167ed946301 (patch)
treef3ed112f578df41a61aea2a62baa8c10a8b964c9 /lisp/emacs-lisp/comp.el
parent6d83902ffd0c50a3157c4c61cd636433b212f709 (diff)
downloademacs-e5b052d60d905209c6cefcf18c620167ed946301.tar.gz
emacs-e5b052d60d905209c6cefcf18c620167ed946301.tar.bz2
emacs-e5b052d60d905209c6cefcf18c620167ed946301.zip
Rename comp--subr-safe-advice -> comp-subr-safe-advice
* lisp/emacs-lisp/comp.el (comp-subr-safe-advice): Rename comp--subr-safe-advice -> comp-subr-safe-advice. * lisp/emacs-lisp/nadvice.el (advice--add-function): Likewise. * lisp/emacs-lisp/advice.el (ad-add-advice): Likewise.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 1 insertions, 1 deletions
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."
comp-native-version-dir)))))
;;;###autoload
-(defun comp--subr-safe-advice (subr-name)
+(defun comp-subr-safe-advice (subr-name)
"Make SUBR-NAME effectively advice-able when called from native code."
(unless (or (memq subr-name comp-never-optimize-functions)
(gethash subr-name comp-installed-trampolines-h))