diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ff9f4ff8707..0c8791d8af7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-08-13 Xue Fuqiao <xfq.free@gmail.com> + + * simple.el (backward-word): Mention the optional argument. + 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca> * frameset.el (frameset--make): Rename constructor from make-frameset. diff --git a/lisp/simple.el b/lisp/simple.el index 0edf5ca8d9c..6825c41becc 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3338,6 +3338,7 @@ extract characters that are special to a buffer, and should not be copied into other buffers." (funcall filter-buffer-substring-function beg end delete)) +;; FIXME: `with-wrapper-hook' is obsolete (defun buffer-substring--filter (beg end &optional delete) (with-wrapper-hook filter-buffer-substring-functions (beg end delete) (cond @@ -5670,7 +5671,8 @@ current object." (defun backward-word (&optional arg) "Move backward until encountering the beginning of a word. -With argument ARG, do this that many times." +With argument ARG, do this that many times. +If ARG is omitted or nil, move point backward one word." (interactive "^p") (forward-word (- (or arg 1)))) |
