* lisp/wid-edit.el (widget-complete): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Tue, 22 Jun 2010 03:24:22 +0000 (20:24 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 22 Jun 2010 03:24:22 +0000 (20:24 -0700)
lisp/ChangeLog
lisp/wid-edit.el

index 2c58cf6..ef19f93 100644 (file)
@@ -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.
index fa21503..0859f8f 100644 (file)
@@ -1156,9 +1156,12 @@ the field."
     (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