summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-05-13 10:29:43 +0200
committerfpi2022-05-15 15:11:58 +0200
commite71ce512a2217da08667fd8d9088a9835ca284b3 (patch)
tree35553e0e6406e2e810f317440d7abab0ed148f32
parentAdd citar for additional citation support (diff)
Disable auto-insert-mode
Because of frequent wrongly assumed insertions in .el files when loading/building packages
Diffstat (limited to '')
-rw-r--r--emacs-init.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs-init.org b/emacs-init.org
index ae8c501..af95022 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -6458,14 +6458,14 @@ Automatically make scripts executable upon save if first line is a shebang:
'executable-make-buffer-file-executable-if-script-p)
#+end_src
-The =Auto-Insert= package helps inserting header templates upon creating files.
+The =Auto-Insert= package helps inserting header templates upon creating files. If you do not turn on =auto-insert-mode= you can manually call =M-x auto-insert= to perform the insertion.
#+begin_src emacs-lisp
(use-package autoinsert
:config
(define-auto-insert '("\\.sh\\'" . "Shell script skeleton")
'(""
"#!/usr/bin/env bash" \n \n))
- (auto-insert-mode 1))
+ (auto-insert-mode -1))
#+end_src
* Language settings
End sentences with single spaces.