summaryrefslogtreecommitdiff
path: root/lisp/align.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/align.el')
-rw-r--r--lisp/align.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/align.el b/lisp/align.el
index 1318b735c05..4d783931157 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -775,18 +775,14 @@ See the documentation for `align-rules-list' for more info."
;;; Internal Variables:
-(defvar align-mode-rules-list nil
+(defvar-local align-mode-rules-list nil
"Alignment rules specific to the current major mode.
See the variable `align-rules-list' for more details.")
-(make-variable-buffer-local 'align-mode-rules-list)
-
-(defvar align-mode-exclude-rules-list nil
+(defvar-local align-mode-exclude-rules-list nil
"Alignment exclusion rules specific to the current major mode.
See the variable `align-exclude-rules-list' for more details.")
-(make-variable-buffer-local 'align-mode-exclude-rules-list)
-
(defvar align-highlight-overlays nil
"The current overlays highlighting the text matched by a rule.")