X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/f25cf300e9bc38139b309852d913ff02ab6d73ec..7e2c05e92fcc878bd17c49575bede378db3c45a3:/emacs diff --git a/emacs b/emacs index e702071..5d34cae 100644 --- a/emacs +++ b/emacs @@ -1,4 +1,4 @@ -;;; -*-emacs-lisp-*- +;;; -*- mode: emacs-lisp; coding: utf-8 -*- ;;; ;;; $Id: .emacs,v 1.11 1997/01/01 18:47:09 mdw Exp $ ;;; @@ -32,8 +32,6 @@ ;; --- Load some other bits of code --- -(setq load-path (cons "~/lib/emacs" load-path)) - (maybe-autoload 'cc-mode "cc-mode" nil t) (maybe-autoload 'rexx-mode "rexx-mode" nil t) (maybe-autoload 'cvs-update "pcl-cvs" nil t) @@ -130,7 +128,7 @@ ps-landscape-mode t ps-number-of-columns 3 ps-font-family 'Courier - ps-font-size 9) + ps-font-size 4) ;; --- Splash screen stuff --- @@ -495,6 +493,8 @@ (add-hook 'latex-mode-hook 'mdw-fontify-tex t) (add-hook 'sh-mode-hook #'mdw-setup-sh-script-mode) +(add-hook 'autoconf-mode-hook #'mdw-setup-m4) +(add-hook 'm4-mode-hook #'mdw-setup-m4) (add-hook 'smalltalk-mode-hook 'mdw-fontify-smalltalk t) (add-hook 'smalltalk-mode-hook 'mdw-setup-smalltalk t) @@ -509,8 +509,8 @@ (trap (require 'slime-autoloads) (slime-setup '(slime-autodoc))) -(trap (require 'xscheme)) -(setq-default xscheme-process-command-line "scheme -large -emacs") +;;(trap (require 'xscheme)) +;;(setq-default xscheme-process-command-line "scheme -large -emacs") (add-hook 'inferior-lisp-mode-hook #'(lambda () (local-set-key "\C-m" 'comint-send-and-indent)) t) @@ -546,7 +546,7 @@ ;; --- Make the shell mode aware of my prompt --- -(setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *") +(setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *") (setq comint-password-prompt-regexp (concat "\\(\\([Oo]ld \\|[Nn]ew \\|[a-zA-Z0-9_]*'s \\|^\\)" "[Pp]assword\\|pass phrase\\):\\s *\\'"))