Commit 24675e99 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

*** empty log message ***

parent 298a7c8c
...@@ -567,13 +567,13 @@ For example, ...@@ -567,13 +567,13 @@ For example,
@smallexample @smallexample
@group @group
(("^/tmp/fol/" . text-mode) (("^/tmp/fol/" . text-mode)
("\\.texinfo$" . texinfo-mode) ("\\.texinfo\\'" . texinfo-mode)
("\\.texi$" . texinfo-mode) ("\\.texi\\'" . texinfo-mode)
@end group @end group
@group @group
("\\.el$" . emacs-lisp-mode) ("\\.el\\'" . emacs-lisp-mode)
("\\.c$" . c-mode) ("\\.c\\'" . c-mode)
("\\.h$" . c-mode) ("\\.h\\'" . c-mode)
@dots{}) @dots{})
@end group @end group
@end smallexample @end smallexample
...@@ -602,11 +602,11 @@ Here is an example of how to prepend several pattern pairs to ...@@ -602,11 +602,11 @@ Here is an example of how to prepend several pattern pairs to
(setq auto-mode-alist (setq auto-mode-alist
(append (append
;; @r{File name starts with a dot.} ;; @r{File name starts with a dot.}
'(("/\\.[^/]*$" . fundamental-mode) '(("/\\.[^/]*\\'" . fundamental-mode)
;; @r{File name has no dot.} ;; @r{File name has no dot.}
("[^\\./]*$" . fundamental-mode) ("[^\\./]*\\'" . fundamental-mode)
;; @r{File name ends in @samp{.C}.} ;; @r{File name ends in @samp{.C}.}
("\\.C$" . c++-mode)) ("\\.C\\'" . c++-mode))
auto-mode-alist)) auto-mode-alist))
@end group @end group
@end smallexample @end smallexample
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment