summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJürgen Hötzel <juergen@hoetzel.info>2010-06-21 20:18:04 -0700
committerGlenn Morris <rgm@gnu.org>2010-06-21 20:18:04 -0700
commit4514199ef20a4b72923c8e6b3252b46f9d9b5db7 (patch)
tree51b582a2677b7293f1386af65e16fdf6c06b306f /lisp
parent11c46b395d51525aea630ea24b030dce2f2ef2da (diff)
downloademacs-4514199ef20a4b72923c8e6b3252b46f9d9b5db7.tar.gz
* lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/wid-edit.el6
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.