From c7fa41dfbedea26fd29fd24083c0ed68e59aa96d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 10 Apr 2020 15:51:59 +0200 Subject: add-to-list only accepts one argument --- ekdosis.el | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/ekdosis.el b/ekdosis.el index 6c8d3a8..84e8f82 100644 --- a/ekdosis.el +++ b/ekdosis.el @@ -39,13 +39,25 @@ (lambda () ;; Folding features: (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) - '("{1}" ("app")) - '("{7}||{6}||{5}||{4}||{3}||{2}||{1}" ("lem")) - '("[r]" ("rdg")) - '("[n]" ("note")) - t) + '("{1}" ("app")) + t) + (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) + '("{7}||{6}||{5}||{4}||{3}||{2}||{1}" ("lem")) + t) + (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) + '("[r]" ("rdg")) + t) + (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) + '("[n]" ("note")) + t) ;; This package relies on lualatex, so check for it: (TeX-check-engine-add-engines 'luatex) + (TeX-add-symbols + "app" + ) + (LaTeX-add-environments + "ekdosis" + ) ) LaTeX-dialect) -- cgit v1.2.3