1
0
Fork 0

Make emacs set-tab-width interactive

org
Mike Gerwitz 2015-08-27 23:18:57 -04:00
parent ae958d92a4
commit 805a3fbd4f
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 0 deletions

View File

@ -805,6 +805,7 @@ the tab width for display of the tab character and to generate the proper
#+BEGIN_SRC emacs-lisp
(defun set-tab-width (width)
"Set tab width to WIDTH and generate tab stops"
(interactive "nTab width: ")
(setq tab-width width)
(setq tab-stop-list
(number-sequence width 120 width)))