branch: externals/valign
commit 98eae8d6f34b9a15224b383cbfd6863b76f00348
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
* valign.el (valign-table): Remove setter for custom option.
---
valign.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/valign.el b/valign.el
index 4c56205..278d73d 100644
--- a/valign.el
+++ b/valign.el
@@ -475,11 +475,9 @@ POS-LIST is a list of positions for each column’s right
bar."
"The style of the separator row of a table.
Valign can render it as “|-----------|”
or as “|-----|-----|”. Set this option to 'single-column
-for the former, and 'multi-column for the latter."
- ;; Restart valign-mode if on.
- :set (lambda (var val) (set-default var val)
- (when (bound-and-true-p valign-mode)
- (valign-mode -1) (valign-mode)))
+for the former, and 'multi-column for the latter.
+You need to restart valign mode or realign tables for this
+setting to take effect."
:type '(choice
(const :tag "Multiple columns" multi-column)
(const :tag "A single column" single-column))