I am planning to keep my .emacs
file settings inside an org file which I can then tangle to a .emacs file. However, for every emacs-lisp block I don't want to have to type the redundant :tangle .emacs
everytime.
e.g.
Description of flim-flam
#+BEGIN_SRC elisp :tangle .emacs
<flim-flam>
#+END_SRC
Description of foo-bar
#+BEGIN_SRC elisp :tangle .emacs
<foo-bar>
#+END_SRC
What must I include at the top of the Org document so that all code blocks (unless explicitly marked :tangle no) are automatically tangled into the same file say .emacs
?
(This question applies to Org mode ≥9.0. For older versions, see Specify global tangle file for source code export in Org mode 8.x)