trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:41:35 -06:00
parent fa407dfeb6
commit e013d7569e
22945 changed files with 447936 additions and 0 deletions

View file

@ -0,0 +1 @@
<!-- SC_OFF --><div class="md"><p>I&#39;m confused on how to get a snippet of elisp to work. I&#39;m trying to do</p> <pre><code>(setq org-refile-targets `(((concat dropbox-dir &quot;/Org/archive.org&quot;) :maxlevel . 1))) </code></pre> <p>I want emacs to execute the concat before the setq essentially, so the value of <code>org-refile-targets</code> becomes</p> <pre><code>((&quot;~/[USER]/Dropbox/Org/archive.org&quot; :maxlevel . 1)) </code></pre> <p>What is actually happening is that emacs is storing <code>org-refile-targets</code> as</p> <pre><code>(((concat dropbox-dir &quot;/Org/archive.org&quot;) :maxlevel . 1)) </code></pre> <p>Which causes a type error whenever I run <code>org-refile</code></p> <p>I&#39;m quite new to elisp, so it&#39;s definitely me not understanding how this works. What am I doing wrong?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/dwdwdan"> /u/dwdwdan </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/pnysaw/concat_inside_list/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/pnysaw/concat_inside_list/">[comments]</a></span>