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

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

[elpa] externals/valign 5729733 178/198: * valign.el: Move user land cod


From: Stefan Monnier
Subject: [elpa] externals/valign 5729733 178/198: * valign.el: Move user land code down below (re-layout).
Date: Tue, 1 Dec 2020 18:19:43 -0500 (EST)

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

    * valign.el: Move user land code down below (re-layout).
---
 valign.el | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/valign.el b/valign.el
index 022e0ec..4fb5b89 100644
--- a/valign.el
+++ b/valign.el
@@ -564,20 +564,7 @@ COLUMN-WIDTH-LIST is returned by 
`valign--calculate-cell-width'."
         (t 'org)))
 
 
-;;; Userland
-
-(defcustom valign-fancy-bar nil
-  "Non-nil means to render bar as a full-height line.
-You need to restart valign mode for this setting to take effect."
-  :type '(choice
-          (const :tag "Enable fancy bar" t)
-          (const :tag "Disable fancy bar" nil))
-  :group 'valign)
-
-(defun valign-table ()
-  "Visually align the table at point."
-  (interactive)
-  (valign-table-maybe t))
+;;; Align
 
 (defvar valign-not-align-after-list '(self-insert-command
                                       org-self-insert-command
@@ -924,6 +911,20 @@ FLAG is the same as in ‘org-flag-region’."
 
 ;;; Userland
 
+(defcustom valign-fancy-bar nil
+  "Non-nil means to render bar as a full-height line.
+You need to restart valign mode for this setting to take effect."
+  :type '(choice
+          (const :tag "Enable fancy bar" t)
+          (const :tag "Disable fancy bar" nil))
+  :group 'valign)
+
+;;;###autoload
+(defun valign-table ()
+  "Visually align the table at point."
+  (interactive)
+  (valign-table-maybe t))
+
 ;;;###autoload
 (define-minor-mode valign-mode
   "Visually align Org tables."



reply via email to

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