Mercurial > emacs
changeset 99965:df75ffc11cac
(Auto Major Mode): Fix example.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 26 Nov 2008 16:11:58 +0000 |
parents | bacf5a7d455b |
children | cd82ae256e46 |
files | doc/lispref/modes.texi |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/modes.texi Wed Nov 26 16:11:42 2008 +0000 +++ b/doc/lispref/modes.texi Wed Nov 26 16:11:58 2008 +0000 @@ -687,7 +687,7 @@ ;; @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))