Add set-line-120 function and racer package
Fix align-to-colon function
This commit is contained in:
parent
6abb0536b7
commit
c2d105ae65
5 changed files with 43 additions and 10 deletions
|
|
@ -81,17 +81,26 @@
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;; indentation functions ;;;;;;;;;;;;;;;;;;;;;;
|
||||
(defun set-line-99 ()
|
||||
"Set line length to 99 columns."
|
||||
(interactive)
|
||||
(setq column-enforce-column 99)
|
||||
(column-enforce-mode -1)
|
||||
(column-enforce-mode 1))
|
||||
|
||||
(defun set-line-80 ()
|
||||
"Set line length to 80 columns."
|
||||
(interactive)
|
||||
(setq column-enforce-column 80)
|
||||
(column-enforce-mode -1)
|
||||
(column-enforce-mode 1))
|
||||
|
||||
(defun set-line-120 ()
|
||||
"Set line length to 120 columns."
|
||||
(interactive)
|
||||
(setq column-enforce-column 120)
|
||||
(column-enforce-mode -1)
|
||||
(column-enforce-mode 1))
|
||||
|
||||
(defun set-tab-4 ()
|
||||
"Set tab length to 4 spaces."
|
||||
(interactive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue