toggle trailing whitespace
This commit is contained in:
parent
79d7e17acd
commit
f7c04b0831
8
init.el
8
init.el
|
@ -536,10 +536,16 @@
|
||||||
|
|
||||||
;; handy function to toggle tabs
|
;; handy function to toggle tabs
|
||||||
(defun toggle-indent-tabs ()
|
(defun toggle-indent-tabs ()
|
||||||
"Toggle tabs on/off"
|
"Toggle tabs on/off."
|
||||||
(interactive)
|
(interactive)
|
||||||
(setq indent-tabs-mode (not indent-tabs-mode)))
|
(setq indent-tabs-mode (not indent-tabs-mode)))
|
||||||
|
|
||||||
|
;;
|
||||||
|
(defun toggle-trailing-whitespace ()
|
||||||
|
"Toggle trailing whitespace visualization."
|
||||||
|
(interactive)
|
||||||
|
(setq show-trailing-whitespace (not show-trailing-whitespace)))
|
||||||
|
|
||||||
;; handy function to regenerate tags
|
;; handy function to regenerate tags
|
||||||
(defun my/regenerate-tags ()
|
(defun my/regenerate-tags ()
|
||||||
"Regenerate tags using ets."
|
"Regenerate tags using ets."
|
||||||
|
|
Loading…
Reference in New Issue