diff options
| author | Stefan Kangas | 2019-10-22 18:02:43 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2019-10-22 18:06:01 +0200 |
| commit | 1f1b2e3da66ecc47bcaae4ea7df0a8ef884b40d0 (patch) | |
| tree | b57da0c7c12e2511b9f9a99d716c95d0ef53e00d /lisp/autoinsert.el | |
| parent | 38021e555961c534c7e386547214ef1eb725dadc (diff) | |
| download | emacs-1f1b2e3da66ecc47bcaae4ea7df0a8ef884b40d0.tar.gz emacs-1f1b2e3da66ecc47bcaae4ea7df0a8ef884b40d0.zip | |
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 @@ | |||
| 32 | ;; auto-mode-alist. | 32 | ;; auto-mode-alist. |
| 33 | ;; | 33 | ;; |
| 34 | ;; To use: | 34 | ;; To use: |
| 35 | ;; (add-hook 'find-file-hook 'auto-insert) | 35 | ;; (auto-insert-mode t) |
| 36 | ;; setq auto-insert-directory to an appropriate slash-terminated value | 36 | ;; setq auto-insert-directory to an appropriate slash-terminated value |
| 37 | ;; | 37 | ;; |
| 38 | ;; You can also customize the variable `auto-insert-mode' to load the | 38 | ;; You can also customize the variable `auto-insert-mode' to load the |