Minor tweaks

This commit is contained in:
Tom Willemsen 2011-03-23 22:40:47 +01:00
parent d276deee4d
commit 47a1e52873
3 changed files with 13 additions and 6 deletions

View file

@ -16,6 +16,6 @@
(autoload 'lua-mode (autoload 'lua-mode
"lua-mode" "A Major mode for editing Lua files" t) "lua-mode" "A Major mode for editing Lua files" t)
(autoload 'php-mode (autoload 'php-mode
"php-mode" "A Major mode for editing PHP files" t) "php-mode-improved" "A Major mode for editing PHP files" t)
(autoload 'graphviz-dot-mode (autoload 'graphviz-dot-mode
"graphviz-dot-mode" "A Major mode for editing graphviz dot files" t) "graphviz-dot-mode" "A Major mode for editing graphviz dot files" t)

View file

@ -2,12 +2,14 @@
(set-frame-font "-*-tamsyn-medium-*-*-*-15-*-*-*-*-80-*-*")) (set-frame-font "-*-tamsyn-medium-*-*-*-15-*-*-*-*-80-*-*"))
(setq inhibit-startup-message t) ; don't show welcome screen (setq inhibit-startup-message t) ; don't show welcome screen
(setq require-final-newline t) ; always append a newline to a file, if it doesn't have one (setq require-final-newline t) ; always append a newline to a
(setq font-lock-maximum-decoration t) ; denotes my interest in maximum possible fontification ; file, if it doesn't have one
(setq font-lock-maximum-decoration t) ; denotes my interest in maximum
; possible fontification
(setq inhibit-default-init t) ; don't load default init (setq inhibit-default-init t) ; don't load default init
(setq indent-tabs-mode nil) ; spaces, no tabs (setq-default indent-tabs-mode nil) ; spaces, no tabs
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq backup-directory-alist `((".*" . ,temporary-file-directory)))
; backup file location ; backup file location
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t)))
; autosave file location ; autosave file location

View file

@ -2,4 +2,9 @@
(add-hook 'c-mode-hook (add-hook 'c-mode-hook
(lambda () (lambda ()
(column-marker-1 80))) (column-marker-1 72)
(column-marker-2 80)))
(add-hook 'html-mode-hook
(lambda ()
(column-marker-1 72)
(column-marker-2 80)))