diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index f2631422c62..f044ec83c9c 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -166,7 +166,7 @@ If this contains a %s, that will be replaced by the matching rule." (replace-match (capitalize (user-login-name)) t t)) '(end-of-line 1) " <" (progn user-mail-address) ">\n") - (".dir-locals.el" + ((,(rx ".dir-locals" (? "-2") ".el") . "Directory Local Variables") nil ";;; Directory Local Variables -*- no-byte-compile: t; -*-\n" ";;; For more information see (info \"(emacs) Directory Variables\")\n\n"