]> err.no Git - dotfiles/commitdiff
reindent,
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 10:26:53 +0000 (10:26 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 10:26:53 +0000 (10:26 +0000)
mc-setversion not for ntnu.

git-svn-id: file:///svn/tfheen/trunk/dotfiles@40 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

emacs

diff --git a/emacs b/emacs
index 1e643a5e8f754d353a886e642852e97f42d6ff03..786989fe0ba8848f61ee2da3d6b67b06d2c6e100 100644 (file)
--- a/emacs
+++ b/emacs
 (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)