changeset 109257:d55f872d898a

* lisp/wid-edit.el (widget-complete): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Mon, 21 Jun 2010 20:24:22 -0700
parents 26ec1305d941
children 1df511d197fe
files lisp/ChangeLog lisp/wid-edit.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jun 21 20:20:24 2010 -0700
+++ b/lisp/ChangeLog	Mon Jun 21 20:24:22 2010 -0700
@@ -1,3 +1,7 @@
+2010-06-22  Glenn Morris  <rgm@gnu.org>
+
+	* wid-edit.el (widget-complete): Doc fix.
+
 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
 
 	* wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
--- a/lisp/wid-edit.el	Mon Jun 21 20:20:24 2010 -0700
+++ b/lisp/wid-edit.el	Mon Jun 21 20:24:22 2010 -0700
@@ -1156,9 +1156,12 @@
     (if field
 	(narrow-to-region (line-beginning-position) (line-end-position)))))
 
+;; This used to say:
+;; "When not inside a field, move to the previous button or field."
+;; but AFAICS, it has always just thrown an error.
 (defun widget-complete ()
   "Complete content of editable field from point.
-When not inside a field, move to the previous button or field."
+When not inside a field, signal an error."
   (interactive)
   (let ((field (widget-field-find (point))))
     (if field