diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-10-22 18:02:43 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-10-22 18:06:01 +0200 |
commit | 1f1b2e3da66ecc47bcaae4ea7df0a8ef884b40d0 (patch) | |
tree | b57da0c7c12e2511b9f9a99d716c95d0ef53e00d /lisp/autoinsert.el | |
parent | 38021e555961c534c7e386547214ef1eb725dadc (diff) | |
download | emacs-1f1b2e3da66ecc47bcaae4ea7df0a8ef884b40d0.tar.gz |
Various doc fixes for auto-insert-mode
* doc/misc/autotype.texi (Autoinserting): Various doc fixes.
* lisp/autoinsert.el (top-level): Recommend 'auto-insert-mode' over
'add-hook'.
Diffstat (limited to 'lisp/autoinsert.el')
-rw-r--r-- | lisp/autoinsert.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index a77ca091d29..b8c2bfd6068 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -32,7 +32,7 @@ ;; auto-mode-alist. ;; ;; To use: -;; (add-hook 'find-file-hook 'auto-insert) +;; (auto-insert-mode t) ;; setq auto-insert-directory to an appropriate slash-terminated value ;; ;; You can also customize the variable `auto-insert-mode' to load the |