aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-10 06:38:39 +0000
committerRichard M. Stallman1994-08-10 06:38:39 +0000
commit24675e99f4a1085240937203b25f136df3c5e50f (patch)
tree7e678a69e2a87cb6bf42b6e73e82e0f5b787b6c9
parent298a7c8c1c38d40652f4740eda7af6e72858c846 (diff)
downloademacs-24675e99f4a1085240937203b25f136df3c5e50f.tar.gz
emacs-24675e99f4a1085240937203b25f136df3c5e50f.zip
*** empty log message ***
-rw-r--r--lispref/modes.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 749d53f245d..fb71606f925 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -567,13 +567,13 @@ For example,
567@smallexample 567@smallexample
568@group 568@group
569(("^/tmp/fol/" . text-mode) 569(("^/tmp/fol/" . text-mode)
570 ("\\.texinfo$" . texinfo-mode) 570 ("\\.texinfo\\'" . texinfo-mode)
571 ("\\.texi$" . texinfo-mode) 571 ("\\.texi\\'" . texinfo-mode)
572@end group 572@end group
573@group 573@group
574 ("\\.el$" . emacs-lisp-mode) 574 ("\\.el\\'" . emacs-lisp-mode)
575 ("\\.c$" . c-mode) 575 ("\\.c\\'" . c-mode)
576 ("\\.h$" . c-mode) 576 ("\\.h\\'" . c-mode)
577 @dots{}) 577 @dots{})
578@end group 578@end group
579@end smallexample 579@end smallexample
@@ -602,11 +602,11 @@ Here is an example of how to prepend several pattern pairs to
602(setq auto-mode-alist 602(setq auto-mode-alist
603 (append 603 (append
604 ;; @r{File name starts with a dot.} 604 ;; @r{File name starts with a dot.}
605 '(("/\\.[^/]*$" . fundamental-mode) 605 '(("/\\.[^/]*\\'" . fundamental-mode)
606 ;; @r{File name has no dot.} 606 ;; @r{File name has no dot.}
607 ("[^\\./]*$" . fundamental-mode) 607 ("[^\\./]*\\'" . fundamental-mode)
608 ;; @r{File name ends in @samp{.C}.} 608 ;; @r{File name ends in @samp{.C}.}
609 ("\\.C$" . c++-mode)) 609 ("\\.C\\'" . c++-mode))
610 auto-mode-alist)) 610 auto-mode-alist))
611@end group 611@end group
612@end smallexample 612@end smallexample