(progn
(add-hook 'makefile-mode-hook 'mdw-misc-mode-config t))
+;; nroff/troff.
+
+(progn
+ (add-hook 'nroff-mode-hook 'mdw-misc-mode-config t))
+
;;;--------------------------------------------------------------------------
;;; Text mode.
"Don't make windows dedicated. Seriously."
(set-window-dedicated-p (or window (selected-window)) nil))
+(defadvice gud-find-expr
+ (around mdw-inhibit-read-only (&rest args) compile activate)
+ "Inhibit errors caused by my setting of `comint-prompt-read-only'."
+ (let ((inhibit-read-only t)) ad-do-it))
+
;;;--------------------------------------------------------------------------
;;; SQL stuff.