From: Mark Wooding Date: Fri, 8 Feb 2008 13:41:49 +0000 (+0000) Subject: emacs, dot-emacs: Mark files as being UTF-8. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/502f4699defabcce0ad478ef82e3929d33f3d614?hp=--cc emacs, dot-emacs: Mark files as being UTF-8. --- 502f4699defabcce0ad478ef82e3929d33f3d614 diff --git a/dot-emacs.el b/dot-emacs.el index 55c5857..9fe9741 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -1,4 +1,4 @@ -;;; -*-emacs-lisp-*- +;;; -*- mode: emacs-lisp; coding: utf-8 -*- ;;; ;;; $Id$ ;;; @@ -1953,7 +1953,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) diff --git a/emacs b/emacs index 746ac2a..039f102 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 $ ;;; @@ -544,7 +544,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 *\\'"))