From: tfheen Date: Thu, 26 Sep 2002 10:26:53 +0000 (+0000) Subject: reindent, X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b04ada4425a2634f45ec5f77cd5ce902a3e225;p=dotfiles reindent, mc-setversion not for ntnu. git-svn-id: file:///svn/tfheen/trunk/dotfiles@40 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/emacs b/emacs index 1e643a5..786989f 100644 --- a/emacs +++ b/emacs @@ -36,17 +36,18 @@ (fset 'yes-or-no-p 'y-or-n-p) (cw/requiring-package (mailcrypt) - (mc-setversion "gpg") - (autoload 'mc-install-write-mode "mailcrypt" nil t) - (autoload 'mc-install-read-mode "mailcrypt" nil t) - (add-hook 'mail-mode-hook 'mc-install-write-mode) - (add-hook 'mail-setup-hook 'mc-install-write-mode) - (add-hook 'gnus-summary-mode-hook 'mc-install-read-mode) - (add-hook 'news-reply-mode-hook 'mc-install-write-mode) - (setq mc-temp-directory (expand-file-name "~/tmp") - mc-encrypt-for-me t - mc-gpg-user-id "tfheen@opera.no" - mc-passwd-timeout 600)) + (cw/not-for-host ".*ntnu.no" + (mc-setversion "gpg") ) + (autoload 'mc-install-write-mode "mailcrypt" nil t) + (autoload 'mc-install-read-mode "mailcrypt" nil t) + (add-hook 'mail-mode-hook 'mc-install-write-mode) + (add-hook 'mail-setup-hook 'mc-install-write-mode) + (add-hook 'gnus-summary-mode-hook 'mc-install-read-mode) + (add-hook 'news-reply-mode-hook 'mc-install-write-mode) + (setq mc-temp-directory (expand-file-name "~/tmp") + mc-encrypt-for-me t + mc-gpg-user-id "tfheen@opera.no" + mc-passwd-timeout 600)) (global-set-key "\M-n" 'browse-url-at-point) (global-set-key [(control backspace)] 'undo)