aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJohn Paul Wallington <[email protected]>2004-08-14 10:01:55 +0000
committerJohn Paul Wallington <[email protected]>2004-08-14 10:01:55 +0000
commit78642e03de5db7d943198e4f6b52e98a1704360e (patch)
tree5dabe3fefbcda25fe612396012a09329608ec417 /lisp
parentd48102cf5fa56a2f0f29f6b576b372b4f2216a0e (diff)
(forward-word): Allow 0 args.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2645cdbefa..c0caca8e94 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-14 John Paul Wallington <[email protected]>
+
+ * emacs-lisp/bytecomp.el (forward-word): Allow 0 args.
+
2004-08-11 Daniel Pfeiffer <[email protected]>
* speedbar.el (speedbar-scan-subdirs): New option.
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index a4ae751cab..0a12f6fae9 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2900,7 +2900,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
(byte-defop-compiler char-after 0-1)
(byte-defop-compiler set-buffer 1)
;;(byte-defop-compiler set-mark 1) ;; obsolete
-(byte-defop-compiler19 forward-word 1)
+(byte-defop-compiler19 forward-word 0-1)
(byte-defop-compiler19 char-syntax 1)
(byte-defop-compiler19 nreverse 1)
(byte-defop-compiler19 car-safe 1)