HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd1cf0a
)
(byte-optimize-backward-word): Optimize
author
Andreas Schwab
<schwab@suse.de>
Sun, 10 Oct 2004 14:28:19 +0000
(14:28 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Sun, 10 Oct 2004 14:28:19 +0000
(14:28 +0000)
`(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
lisp/emacs-lisp/byte-opt.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/emacs-lisp/byte-opt.el
b/lisp/emacs-lisp/byte-opt.el
index
da8e758
..
e00bebc
100644
(file)
--- a/
lisp/emacs-lisp/byte-opt.el
+++ b/
lisp/emacs-lisp/byte-opt.el
@@
-1152,7
+1152,7
@@
of FORM by signalling the error at compile-time."
(numberp (nth 1 form)))
(list 'forward-word (eval (- (nth 1 form)))))
((= 1 (safe-length form))
- '(forward-
char
-1))
+ '(forward-
word
-1))
(t form)))
(put 'char-before 'byte-optimizer 'byte-optimize-char-before)