From: Richard M. Stallman Date: Mon, 20 Jul 1998 21:23:28 +0000 (+0000) Subject: (auto-mode-alist): Match .emacs with no directory. X-Git-Tag: emacs-20.3~291 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c35fb48edc4cdd4d8791f2676a422b952ae953f;p=emacs.git (auto-mode-alist): Match .emacs with no directory. --- diff --git a/lisp/files.el b/lisp/files.el index cb7336f5d28..beffa7e05fc 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1277,6 +1277,7 @@ run `normal-mode' explicitly." ;; .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)