Fixes .emacs, always

This commit is contained in:
2022-01-19 15:38:46 +01:00
parent 2105dd1b3e
commit ace8771e09

22
.emacs
View File

@@ -28,7 +28,11 @@
'(package-selected-packages
(quote
(zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode elpy markdown-mode yasnippet srefactor irony cmake-mode company magit use-package)))
'(safe-local-variable-values (quote ((TeX-master . t) (TeX-parse-self . t))))
'(safe-local-variable-values
(quote
((vc-follow-symlinks . t)
(TeX-master . t)
(TeX-parse-self . t))))
'(srefactor--getter-prefix "Get")
'(srefactor--getter-setter-capitalize-p t)
'(srefactor--setter-prefix "Set")
@@ -74,12 +78,12 @@
:config
(setq-default tab-width 4) ; or any other preferred value
(setq cua-auto-tabify-rectangles nil)
(defadvice align (around smart-tabs activate)
(let ((indent-tabs-mode nil)) ad-do-it))
(defadvice align (around smart-tabs activate)
(let ((indent-tabs-mode nil)) ad-do-it))
(defadvice align-regexp (around smart-tabs activate)
(let ((indent-tabs-mode nil)) ad-do-it))
;; (defadvice align (around smart-tabs activate)
;; (let ((indent-tabs-mode nil)) ad-do-it))
;; (defadvice align (around smart-tabs activate)
;; (let ((indent-tabs-mode nil)) ad-do-it))
;; (defadvice align-regexp (around smart-tabs activate)
;; (let ((indent-tabs-mode nil)) ad-do-it))
(defadvice indent-relative (around smart-tabs activate)
(let ((indent-tabs-mode nil)) ad-do-it))
(defadvice indent-according-to-mode (around smart-tabs activate)
@@ -425,3 +429,7 @@ header"
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
;; Local Variables:
;; vc-follow-symlinks: t
;; End: