emacs: use new setq-local syntax

master
an 2020-02-15 21:49:50 -05:00
parent 2010675d9a
commit f3b8fea572
1 changed files with 10 additions and 10 deletions

View File

@ -22,22 +22,22 @@
(defun agw-prog-mode ()
"Sets up `prog-mode'."
(setq-local tab-always-indent nil)
(setq-local tab-width 3)
(setq-local standard-indent 3)
(setq-local indent-tabs-mode t))
(setq-local tab-always-indent nil
tab-width 3
standard-indent 3
indent-tabs-mode t))
(defun agw-fp-mode ()
"Sets up lisp and other functional language major modes."
(setq-local indent-tabs-mode nil)
(setq-local standard-indent 2)
(setq-local tab-width 2))
(setq-local indent-tabs-mode nil
standard-indent 2
tab-width 2))
(defun agw-org-mode ()
"Sets up `org-mode'."
(setq-local indent-tabs-mode nil)
(setq-local standard-indent 2)
(setq-local tab-width 2))
(setq-local indent-tabs-mode nil
standard-indent 2
tab-width 2))
(defun agw-remove-elc ()
"Removes an elc file if it exists."