From: Jürgen Hötzel Date: Tue, 22 Jun 2010 03:18:04 +0000 (-0700) Subject: * lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. X-Git-Tag: emacs-pretest-23.2.90~139^2~107 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4514199ef20a4b72923c8e6b3252b46f9d9b5db7;p=emacs.git * lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. --- 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 (tiny change) + + * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. + 2010-06-22 Dan Nicolaescu 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.