From: tfheen Date: Sun, 27 Apr 2003 08:50:24 +0000 (+0000) Subject: Load local settings. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05309288008e32247b4666e35c9efb20027cc8a;p=dotfiles Load local settings. git-svn-id: file:///svn/tfheen/trunk/dotfiles@134 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/emacs b/emacs index 1e0740a..169f784 100644 --- a/emacs +++ b/emacs @@ -1,6 +1,10 @@ ; -*- emacs-lisp -*- ; +(message "checking for local setup and loading..") +(if (file-exists-p "/local/skel/all.emacs") + (load "/local/skel/all.emacs" nil t t)) + (message "loading .emacs-standard") (load "~/.emacs-standard") @@ -30,7 +34,10 @@ mail-setup-hook 'bbdb-insinuate-sendmail) (add-hook mail-setup-hook 'bbdb-define-all-aliases)) -(setq default-major-mode 'text-mode) +(setq default-major-mode 'text-mode + mail-user-agent 'gnus-user-agent + read-mail-command 'gnus) + (add-hook 'text-mode-hook 'turn-on-auto-fill) (fset 'yes-or-no-p 'y-or-n-p) @@ -193,6 +200,7 @@ (setq cursor-in-non-selected-windows nil)) (global-set-key [C-tab] 'dabbrev-expand) +(global-set-key [M-space] '(lambda() (insert " "))) ;(add-hook 'diary-hook 'appt-make-list) ;(add-hook 'diary-hook 'appt-make-list)