From: Chong Yidong Date: Wed, 26 Nov 2008 16:11:58 +0000 (+0000) Subject: (Auto Major Mode): Fix example. X-Git-Tag: emacs-pretest-23.0.90~1493 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2674569bd519c4e489ed39d67b5c41bc86d45e93;p=emacs.git (Auto Major Mode): Fix example. --- diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 71db5cc7fd0..8760109ecdd 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))