changeset 109255:424a3703328f

* lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
author Glenn Morris <rgm@gnu.org>
date Mon, 21 Jun 2010 20:18:04 -0700
parents 827f21099a9d
children 26ec1305d941
files lisp/ChangeLog lisp/wid-edit.el
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jun 21 20:00:54 2010 -0700
+++ b/lisp/ChangeLog	Mon Jun 21 20:18:04 2010 -0700
@@ -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.
--- a/lisp/wid-edit.el	Mon Jun 21 20:00:54 2010 -0700
+++ b/lisp/wid-edit.el	Mon Jun 21 20:18:04 2010 -0700
@@ -1161,9 +1161,9 @@
 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.