X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/0f2aab7bf3c99841ef3090480a0cbde310782a30..61d89127e0d9310c0853557cef1acfcc8ec56e94:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 1a69858..20daa9b 100644 --- a/dot/emacs +++ b/dot/emacs @@ -212,7 +212,7 @@ (setq dabbrev-case-replace nil) ;Retain case when completing (setq linum-format "%7d ") (setq next-line-add-newlines nil) ;Don't add weird newlines -(setq split-height-threshold 45) ;Reuse windows where sensible +(setq split-height-threshold nil) ;Reuse windows where sensible (setq display-buffer-reuse-frames nil ;Don't confuse me by showing buffers iswitchb-default-method 'samewindow) ;in other random frames (setq dired-deletion-confirmer ;Make deletion easier in dired @@ -514,6 +514,7 @@ ("\\.cs$" . csharp-mode) ("\\.go$" . go-mode) ("\\.org$" . org-mode) + ("\\.make$" . makefile-mode) ;; ("/[ch]/" . c-mode) (,(concat "/\\(" "\\.stgit\\.msg" "\\|" @@ -546,11 +547,13 @@ (setq interpreter-mode-alist (append `(("runlisp" . lisp-mode) - ("@BASH" . sh-mode) + ("@BASH@" . sh-mode) ("@PYTHON@" . python-mode) ("@PERL@" . perl-mode) ("@TCLSH@" . tcl-mode) - ("@WISH@" . tcl-mode)) + ("@WISH@" . tcl-mode) + ("/tclsh" . tcl-mode) + ("/wish" . tcl-mode)) interpreter-mode-alist)) (setq completion-ignored-extensions