1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

* lisp/wid-edit.el (widget-complete): Doc fix.

This commit is contained in:
Glenn Morris 2010-06-21 20:24:22 -07:00
parent 2b1b005c76
commit 6095a05b11
2 changed files with 8 additions and 1 deletions

View 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.

View 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