From ace8771e090cf17c463f86c9e922c94402022b3e Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Wed, 19 Jan 2022 15:38:46 +0100 Subject: [PATCH] Fixes .emacs, always --- .emacs | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.emacs b/.emacs index a0d1802..292ffb7 100644 --- a/.emacs +++ b/.emacs @@ -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: