branch: externals/cus-abbrev
commit f62901f11cce77a0630090a38c1d6bd89b12c09c
Author: Mauro Aranda <[email protected]>
Commit: Mauro Aranda <[email protected]>
; Add missing docstring to custom-abbrev-toggle-hide-abbrev-table
---
cus-abbrev.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cus-abbrev.el b/cus-abbrev.el
index cbbaaff7e0..7f307b5527 100644
--- a/cus-abbrev.el
+++ b/cus-abbrev.el
@@ -233,7 +233,7 @@ This command also saves any other editions made to the
abbrev table."
(custom-abbrev--prepare-buffer-2))
(defun custom-abbrev-toggle-hide-abbrev-table (widget &rest _ignore)
- "..."
+ "Hide/Show the abbrev-table widget related to this visibility WIDGET."
(let ((w (widget-get widget :widget))
(val (not (widget-value widget))))
(widget-value-set widget val)
@@ -274,7 +274,8 @@ the abbrev table to customize. If nil, it defaults to
`global-abbrev-table'."
abbrevs)))))
table)
(setq abbrevs (nreverse abbrevs))
- (custom-abbrev--prepare-buffer (format "*Customize Abbrevs: %s*"
table-name))
+ (custom-abbrev--prepare-buffer
+ (format "*Customize Abbrevs: %s*" table-name))
(widget-insert "This buffer is for customizing abbrevs\n")
(widget-insert "in abbrev table: ")
(widget-create 'variable-link :button-face 'widget-button table-name)