config/literate: improve tangling algorithm

- Tangling no longer adds temp files to recentf (#3685)
- If :tangle yes is used, the result is no longer tangled to
  /tmp/config.org.*.el
- In interactive sessions the org buffer is no longer interfered with
  when tangling (by scrolling up to the top of the page, or undoing
  overlays/markers).
- Tangling no longer triggers formatters (or any save/write hooks).
- Appease byte-compiler sama, complaining about free variables.
This commit is contained in:
Henrik Lissner 2020-08-08 02:57:04 -04:00
parent aae8203f86
commit d2bc2ff44b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 52 additions and 26 deletions

View file

@ -18,6 +18,9 @@
(require 'core-packages)
(doom-initialize-core-packages)
;; Don't generate superfluous files when writing temp buffers
(setq make-backup-files nil)
;;
;;; Variables