comparison .elisp/settings/40.modes.el @ 479:601884c45f8a

emacs: switch to from-hg hg-test-mode config
author Augie Fackler <raf@durin42.com>
date Thu, 21 Feb 2019 20:35:10 -0500
parents 5843408c9a38
children
comparison
equal deleted inserted replaced
478:6bcdbe7b8e42 479:601884c45f8a
108 (setq default-directory (expand-file-name (concat default-directory "../../"))))) 108 (setq default-directory (expand-file-name (concat default-directory "../../")))))
109 (add-hook 'diff-mode-hook 'mq-patch-set-default-directory) 109 (add-hook 'diff-mode-hook 'mq-patch-set-default-directory)
110 110
111 ;; Tempfiles from mutt should be edited in mail-mode. 111 ;; Tempfiles from mutt should be edited in mail-mode.
112 (add-to-list 'auto-mode-alist '("/mutt" . mail-mode)) 112 (add-to-list 'auto-mode-alist '("/mutt" . mail-mode))
113
114 (if (file-exists-p "~/Programming/hg/crew/contrib/hg-test-mode.el")
115 (progn
116 (load "~/Programming/hg/crew/contrib/hg-test-mode.el")
117 (add-to-list 'auto-mode-alist '("\\.t$'" . hg-test-mode))
118 (add-hook 'hg-test-mode-hook 'af-no-clean-whitespace)))