Fixes .emacs, always
This commit is contained in:
22
.emacs
22
.emacs
@@ -28,7 +28,11 @@
|
|||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(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)))
|
(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-prefix "Get")
|
||||||
'(srefactor--getter-setter-capitalize-p t)
|
'(srefactor--getter-setter-capitalize-p t)
|
||||||
'(srefactor--setter-prefix "Set")
|
'(srefactor--setter-prefix "Set")
|
||||||
@@ -74,12 +78,12 @@
|
|||||||
:config
|
:config
|
||||||
(setq-default tab-width 4) ; or any other preferred value
|
(setq-default tab-width 4) ; or any other preferred value
|
||||||
(setq cua-auto-tabify-rectangles nil)
|
(setq cua-auto-tabify-rectangles nil)
|
||||||
(defadvice align (around smart-tabs activate)
|
;; (defadvice align (around smart-tabs activate)
|
||||||
(let ((indent-tabs-mode nil)) ad-do-it))
|
;; (let ((indent-tabs-mode nil)) ad-do-it))
|
||||||
(defadvice align (around smart-tabs activate)
|
;; (defadvice align (around smart-tabs activate)
|
||||||
(let ((indent-tabs-mode nil)) ad-do-it))
|
;; (let ((indent-tabs-mode nil)) ad-do-it))
|
||||||
(defadvice align-regexp (around smart-tabs activate)
|
;; (defadvice align-regexp (around smart-tabs activate)
|
||||||
(let ((indent-tabs-mode nil)) ad-do-it))
|
;; (let ((indent-tabs-mode nil)) ad-do-it))
|
||||||
(defadvice indent-relative (around smart-tabs activate)
|
(defadvice indent-relative (around smart-tabs activate)
|
||||||
(let ((indent-tabs-mode nil)) ad-do-it))
|
(let ((indent-tabs-mode nil)) ad-do-it))
|
||||||
(defadvice indent-according-to-mode (around smart-tabs activate)
|
(defadvice indent-according-to-mode (around smart-tabs activate)
|
||||||
@@ -425,3 +429,7 @@ header"
|
|||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; Local Variables:
|
||||||
|
;; vc-follow-symlinks: t
|
||||||
|
;; End:
|
||||||
|
|||||||
Reference in New Issue
Block a user