mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add some documentation for widget-describe and button-describe
* doc/emacs/help.texi (Key Help): Document button-describe and widget-describe. * lisp/button.el (push-button): Mention button-describe. * lisp/cus-edit.el (Custom-newline): Mention widget-describe (bug#139).
This commit is contained in:
parent
95b60c84b3
commit
1545f28a98
4 changed files with 21 additions and 4 deletions
|
|
@ -4841,7 +4841,10 @@ The format is suitable for use with `easy-menu-define'."
|
|||
(error "You can't edit this part of the Custom buffer"))
|
||||
|
||||
(defun Custom-newline (pos &optional event)
|
||||
"Invoke button at POS, or refuse to allow editing of Custom buffer."
|
||||
"Invoke button at POS, or refuse to allow editing of Custom buffer.
|
||||
|
||||
To see what function the widget will call, use the
|
||||
`widget-describe' command."
|
||||
(interactive "@d")
|
||||
(let ((button (get-char-property pos 'button)))
|
||||
;; If there is no button at point, then use the one at the start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue