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))