X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/61d632068158706b1c3740f0c0a5a8e27244602d..97b09d790cdc1ba53afe59059b60716b676738a5:/dot/emacs?ds=sidebyside diff --git a/dot/emacs b/dot/emacs index 80f0cb5..fca998c 100644 --- a/dot/emacs +++ b/dot/emacs @@ -508,6 +508,7 @@ ;; ("/[ch]/" . c-mode) (,(concat "/\\(" "\\.stgit\\.msg" "\\|" + "\\.topmsg" "\\|" "\\.git/COMMIT_EDITMSG" "\\|" "svn-commit\\.tmp" "\\|" "svk-commit[^/.]*\\.tmp" @@ -535,7 +536,11 @@ auto-mode-alist)) (setq interpreter-mode-alist - (append `(("runlisp" . lisp-mode)) + (append `(("runlisp" . lisp-mode) + ("@PYTHON@" . python-mode) + ("@PERL@" . perl-mode) + ("@TCLSH@" . tcl-mode) + ("@WISH@" . tcl-mode)) interpreter-mode-alist)) (setq completion-ignored-extensions @@ -653,6 +658,7 @@ (progn (setq-default py-indent-offset 2 + python-indent 2 py-python-command-args `("-i" "-colors" ,(if mdw-black-background "Linux" "LightBG")))