Mercurial > emacs
changeset 8505:d3f7cadf8c95
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 10 Aug 1994 06:38:39 +0000 |
parents | 8c492f23ee28 |
children | 07a5f6c2bc9f |
files | lispref/modes.texi |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Wed Aug 10 04:08:26 1994 +0000 +++ b/lispref/modes.texi Wed Aug 10 06:38:39 1994 +0000 @@ -567,13 +567,13 @@ @smallexample @group (("^/tmp/fol/" . text-mode) - ("\\.texinfo$" . texinfo-mode) - ("\\.texi$" . texinfo-mode) + ("\\.texinfo\\'" . texinfo-mode) + ("\\.texi\\'" . texinfo-mode) @end group @group - ("\\.el$" . emacs-lisp-mode) - ("\\.c$" . c-mode) - ("\\.h$" . c-mode) + ("\\.el\\'" . emacs-lisp-mode) + ("\\.c\\'" . c-mode) + ("\\.h\\'" . c-mode) @dots{}) @end group @end smallexample @@ -602,11 +602,11 @@ (setq auto-mode-alist (append ;; @r{File name starts with a dot.} - '(("/\\.[^/]*$" . fundamental-mode) + '(("/\\.[^/]*\\'" . fundamental-mode) ;; @r{File name has no dot.} - ("[^\\./]*$" . fundamental-mode) + ("[^\\./]*\\'" . fundamental-mode) ;; @r{File name ends in @samp{.C}.} - ("\\.C$" . c++-mode)) + ("\\.C\\'" . c++-mode)) auto-mode-alist)) @end group @end smallexample