1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -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

@ -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