Some additional changes to stuff
This commit is contained in:
parent
99dddafe63
commit
1390969075
9 changed files with 39 additions and 173 deletions
10
behaviour.el
10
behaviour.el
|
|
@ -47,12 +47,6 @@
|
|||
|
||||
;; Enable y/n answers to questions
|
||||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
;; Trim trailing whitespace on save
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup)
|
||||
|
||||
;; Save desktop session on exit
|
||||
(desktop-save-mode 1)
|
||||
;;;;;;;;;;;;;;;;;;;;;;;; code behaviour ;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Add ruler at 80, do not wrap lines (can be overwritten later)
|
||||
|
|
@ -93,6 +87,10 @@
|
|||
;;; When pasting/writing over a selection, replace it.
|
||||
(delete-selection-mode 1)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;; indentation functions ;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; NB! This does not work reliably, using the functions below
|
||||
(defun set-width (columns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue