changeset 22788:0e0f06a92324

(auto-mode-alist): Match .emacs with no directory.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Jul 1998 21:23:28 +0000
parents 2f2d06c1f6b6
children 2ba6f9b60ee6
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sun Jul 19 22:17:03 1998 +0000
+++ b/lisp/files.el	Mon Jul 20 21:23:28 1998 +0000
@@ -1277,6 +1277,7 @@
     ;; .emacs following a directory delimiter
     ;; in Unix, MSDOG or VMS syntax.
     ("[]>:/\\]\\..*emacs\\'" . emacs-lisp-mode)
+    ("\\`.*emacs\\'" . emacs-lisp-mode)
     ;; _emacs following a directory delimiter
     ;; in MsDos syntax
     ("[:/]_emacs\\'" . emacs-lisp-mode)