X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/f25cf300e9bc38139b309852d913ff02ab6d73ec..4d93931d1e3fb92ca806fc8f3b2c07895430c608:/dot-emacs.el diff --git a/dot-emacs.el b/dot-emacs.el index 55c5857..de720a0 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -1,4 +1,4 @@ -;;; -*-emacs-lisp-*- +;;; -*- mode: emacs-lisp; coding: utf-8 -*- ;;; ;;; $Id$ ;;; @@ -1936,6 +1936,9 @@ strip numbers instead." (and mdw-auto-indent (indent-for-tab-command))) +(defun mdw-setup-m4 () + (mdw-standard-fill-prefix "\\([ \t]*\\(?:#+\\|\\\\)[ \t]*\\)")) + ;;;----- Text mode ---------------------------------------------------------- (defun mdw-text-mode () @@ -1953,7 +1956,7 @@ strip numbers instead." 'comint-watch-for-password-prompt)) (defun mdw-term-mode-setup () - (setq term-prompt-regexp "^[^]#$%>»}\n]*[]#$%>»}] *") + (setq term-prompt-regexp "^[^]#$%>»}\n]*[]#$%>»}] *") (make-local-variable 'mouse-yank-at-point) (make-local-variable 'transient-mark-mode) (setq mouse-yank-at-point t)