emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/valign 2a60a4d 025/198: Remove valign-setup


From: Stefan Monnier
Subject: [elpa] externals/valign 2a60a4d 025/198: Remove valign-setup
Date: Tue, 1 Dec 2020 18:19:09 -0500 (EST)

branch: externals/valign
commit 2a60a4dde2f6e25169cf889616115a7bc998a5ab
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Remove valign-setup
    
    * README.org: Replace with valign-mode.
    * valign.el (valign-setup): Remove.
    (Commentary): Replace with valign-mode.
---
 README.org | 2 +-
 valign.el  | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/README.org b/README.org
index 756d865..668705b 100644
--- a/README.org
+++ b/README.org
@@ -2,7 +2,7 @@
 
 This package provides visual alignment for Org tables on GUI Emacs. It can 
properly align tables containing variable-pitch font, CJK characters and 
images. In the meantime, the text-based alignment generated by Org mode is left 
untouched.
 
-To use this package, load it and run =M-x valign-setup RET=. And any Org 
tables in Org mode should be automatically aligned. If you want to align a 
table manually, run =M-x valign-table RET= on a Org table.
+To use this package, load it and run =M-x valign-mode RET=. And any Org tables 
in Org mode should be automatically aligned. If you want to align a table 
manually, run =M-x valign-table RET= on a Org table.
 
 You can choose from the two styles by customizing ~valign-separator-row-style~.
 
diff --git a/valign.el b/valign.el
index 50d446c..dd05e0b 100644
--- a/valign.el
+++ b/valign.el
@@ -15,7 +15,7 @@
 ;; characters and images.  In the meantime, the text-based alignment
 ;; generated by Org mode is left untouched.
 ;;
-;; To use this package, load it and run M-x valign-setup RET.  And any
+;; To use this package, load it and run M-x valign-mode RET.  And any
 ;; Org tables in Org mode should be automatically aligned.  If you want
 ;; to align a table manually, run M-x valign-table RET on a Org table.
 ;;
@@ -477,11 +477,6 @@ for the former, and 'multi-column for the latter."
     (advice-remove 'org-table-next-field #'valign-table)
     (advice-remove 'org-table-previous-field #'valign-table)))
 
-(defun valign-setup ()
-  "Enable visual table alignment."
-  (interactive)
-  (valign-mode 1))
-
 (provide 'valign)
 
 ;;; valign.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]