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,
@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 @@ Here is an example of how to prepend several pattern pairs to
(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
......
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