minor cleanup
This commit is contained in:
parent
f438e12ded
commit
175afd91c9
1 changed files with 4 additions and 1 deletions
5
init.el
5
init.el
|
@ -74,9 +74,12 @@
|
||||||
|
|
||||||
;;helper functions to switch tab expansion on and off
|
;;helper functions to switch tab expansion on and off
|
||||||
(defun tabs-yay ()
|
(defun tabs-yay ()
|
||||||
|
"Function to enable tab indentation in buffer."
|
||||||
;;(local-set-key (kbd "TAB") 'tab-to-tab-stop)
|
;;(local-set-key (kbd "TAB") 'tab-to-tab-stop)
|
||||||
(setq indent-tabs-mode t))
|
(setq indent-tabs-mode t))
|
||||||
(defun tabs-nay () (setq indent-tabs-mode nil))
|
(defun tabs-nay ()
|
||||||
|
"Function to enable space indentation in buffer."
|
||||||
|
(setq indent-tabs-mode nil))
|
||||||
|
|
||||||
;; wasteland of hooks regarding tabs behavior Remember how it "Just
|
;; wasteland of hooks regarding tabs behavior Remember how it "Just
|
||||||
;; worked"™ in vim? That's what you pay with for org mode
|
;; worked"™ in vim? That's what you pay with for org mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue