From 7c35fb48edc4cdd4d8791f2676a422b952ae953f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Jul 1998 21:23:28 +0000 Subject: [PATCH] (auto-mode-alist): Match .emacs with no directory. --- lisp/files.el | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2