1
vote
Accepted
How can I use `add-to-list` to add multiple elements to a list value of a variable?
No. The doc tells you that add-to-list adds a single element.
You can do what you want with this, for example:
(defun add-list-to-list-var (list-var new-elements &optional append compare-fn)
&...
1
vote
How to include variables within #+INCLUDE:?
It doesn't seem possible to use variables with #+INCLUDE:.
However, org-transclusion, which is a package that lets you insert a copy of some content via a file link or ID link within an Org file, can ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
variables × 168org-mode × 18
debugging × 16
elisp × 14
functions × 12
setq × 12
init-file × 10
symbols × 10
customize × 8
buffer-local × 7
quote × 6
local-variables × 6
faces × 5
byte-compilation × 5
warning × 5
lexical-scoping × 5
let-binding × 5
dynamic-scoping × 5
org-export × 4
spacemacs × 4
helm × 4
environment × 4
defvar × 4
buffers × 3
regular-expressions × 3