[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8eba2b5: Allow hiding variables in Customize
From: |
Lars Ingebrigtsen |
Subject: |
master 8eba2b5: Allow hiding variables in Customize |
Date: |
Fri, 16 Jul 2021 06:55:30 -0400 (EDT) |
branch: master
commit 8eba2b57ca518d691d7b7cbb7f5050ba3945342f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Allow hiding variables in Customize
* lisp/cus-edit.el (custom-toggle-hide-variable): Allow closing an
option even if there are unsaved changes (bug#11655).
---
lisp/cus-edit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index a8b2640..980a1cc 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -2824,7 +2824,7 @@ the present value is saved to its :shown-value property
instead."
(list (widget-value
(car-safe
(widget-get widget :children)))))
- (error "There are unsaved changes")))
+ (message "Note: There are unsaved changes")))
(widget-put widget :documentation-shown nil)
(widget-put widget :custom-state 'hidden))
(custom-redraw widget)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8eba2b5: Allow hiding variables in Customize,
Lars Ingebrigtsen <=