From e71ce512a2217da08667fd8d9088a9835ca284b3 Mon Sep 17 00:00:00 2001 From: fpi Date: Fri, 13 May 2022 10:29:43 +0200 Subject: Disable auto-insert-mode Because of frequent wrongly assumed insertions in .el files when loading/building packages --- emacs-init.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs-init.org') 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. -- cgit v1.2.3