diff options
author | Jürgen Hötzel <juergen@hoetzel.info> | 2010-06-21 20:18:04 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-06-21 20:18:04 -0700 |
commit | 4514199ef20a4b72923c8e6b3252b46f9d9b5db7 (patch) | |
tree | 51b582a2677b7293f1386af65e16fdf6c06b306f /lisp | |
parent | 11c46b395d51525aea630ea24b030dce2f2ef2da (diff) | |
download | emacs-4514199ef20a4b72923c8e6b3252b46f9d9b5db7.tar.gz |
* lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/wid-edit.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9fc3e154269..2c58cf654dd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change) + + * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. + 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu> Fix annotating other revisions for renamed files in vc-annotate. diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index a087f17a900..fa215031465 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -1161,9 +1161,9 @@ the field." When not inside a field, move to the previous button or field." (interactive) (let ((field (widget-field-find (point)))) - (when field - (widget-apply field :complete)) - (error "Not in an editable field"))) + (if field + (widget-apply field :complete) + (error "Not in an editable field")))) ;;; Setting up the buffer. |