projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7c1f1
)
* lisp/emacs-lisp/comp.el (comp-op-to-fun): Use `string-replace'.
author
Andrea Corallo
<acorallo@gnu.org>
Tue, 19 Sep 2023 08:32:50 +0000
(10:32 +0200)
committer
Andrea Corallo
<acorallo@gnu.org>
Tue, 19 Sep 2023 09:46:19 +0000
(11:46 +0200)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index e1bb70fe5d46c6865377b2fc4d5b68f9c5dfc130..a8567c5da00e7074420f636103ff7667c917f9fe 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-1851,7
+1851,7
@@
SP-DELTA is the stack adjustment."
(eval-when-compile
(defun comp-op-to-fun (x)
"Given the LAP op strip \"byte-\" to have the subr name."
- (intern (
replace-regexp-in-string
"byte-" "" x)))
+ (intern (
string-replace
"byte-" "" x)))
(defun comp-body-eff (body op-name sp-delta)
"Given the original BODY, compute the effective one.