aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/modes.texi
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2008-11-26 16:11:58 +0000
committerChong Yidong <[email protected]>2008-11-26 16:11:58 +0000
commit2674569bd519c4e489ed39d67b5c41bc86d45e93 (patch)
treeaa8b4891c34121f34588acaba0c8436bf8877aa2 /doc/lispref/modes.texi
parentf6dc3bed4683027d3c90058322a2db678d80dd15 (diff)
(Auto Major Mode): Fix example.
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r--doc/lispref/modes.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 71db5cc7fd..8760109ecd 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -687,7 +687,7 @@ init file.)
;; @r{File name (within directory) starts with a dot.}
'(("/\\.[^/]*\\'" . fundamental-mode)
;; @r{File name has no dot.}
- ("[^\\./]*\\'" . fundamental-mode)
+ ("/[^\\./]*\\'" . fundamental-mode)
;; @r{File name ends in @samp{.C}.}
("\\.C\\'" . c++-mode))
auto-mode-alist))