mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(byte-optimize-backward-word): Optimize
`(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
This commit is contained in:
parent
fd1cf0a0c3
commit
af61a97dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue