From 4514199ef20a4b72923c8e6b3252b46f9d9b5db7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20H=C3=B6tzel?= Date: Mon, 21 Jun 2010 20:18:04 -0700 Subject: [PATCH] * lisp/wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. --- lisp/ChangeLog | 4 ++++ 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 (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. -- 2.39.2