From: Stefan Monnier Date: Wed, 22 Nov 2000 22:50:22 +0000 (+0000) Subject: (auto-insert-alist): Add `provide' to elisp skeleton. X-Git-Tag: emacs-pretest-21.0.92~142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c98b2e96ea56154e439516072af388760fb89fe;p=emacs.git (auto-insert-alist): Add `provide' to elisp skeleton. --- diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index 498808be5b3..5cf87b40b61 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -178,6 +178,9 @@ If this contains a %s, that will be replaced by the matching rule." +\(provide '" + (file-name-sans-extension (file-name-nondirectory (buffer-file-name))) + ") ;;; " (file-name-nondirectory (buffer-file-name)) " ends here")) "A list specifying text to insert by default into a new file. Elements look like (CONDITION . ACTION) or ((CONDITION . DESCRIPTION) . ACTION).