From 709d45e1a873f9518d564540b7c4c3042a6d742f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20Gro=C3=9Fjohann?= Date: Tue, 10 Sep 2002 08:08:18 +0000 Subject: [PATCH] (auto-mode-alist): ~/.gnus, ~/.viper are in emacs-lisp-mode, like ~/.emacs. --- lisp/ChangeLog | 5 +++++ lisp/files.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 36cfa96ec99..46d038a4cf0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-09-10 Kai Gro,b_(Bjohann + + * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in + emacs-lisp-mode, like ~/.emacs. + 2002-09-10 Deepak Goel * play/doctor.el (doc//): Rename from `//'. Update callers. diff --git a/lisp/files.el b/lisp/files.el index 29da63df7cf..f86afe8d5d2 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1588,9 +1588,9 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.dtd\\'" . sgml-mode) ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) ("\\.idl\\'" . idl-mode) - ;; .emacs following a directory delimiter - ;; in Unix, MSDOG or VMS syntax. - ("[]>:/\\]\\..*emacs\\'" . emacs-lisp-mode) + ;; .emacs or .gnus or .viper following a directory delimiter in + ;; Unix, MSDOG or VMS syntax. + ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) ("\\`\\..*emacs\\'" . emacs-lisp-mode) ;; _emacs following a directory delimiter ;; in MsDos syntax -- 2.39.5