reddit / emacs

org-publish - Wrong type of arguments with a simple string

[deleted] · 2022-05-15 23:44
[deleted]
ieure · 2022-05-16 00:56
In `(setq org-publish-project-alist ...)`, you set the value of the symbol to a quoted list, which means that the symbols like `blog-head` are included verbatim, as symbols, rather than getting evaluated, to return the symbol's value. Instead, you need to use backquote and unquote anything that needs to be evaluated. ex: `(("org" :html-head ,blog-head))
Frodo478 · 2022-05-16 01:12
Thanks! Is correct, but I now get another error `let: Wrong number of arguments: plist-get, 3` Do you have any idea?
00-11 · 2022-05-16 01:52
https://emacs.stackexchange.com/q/71767/105
ieure · 2022-05-16 03:27
Nope. Run `toggle-debug-on-error` and look at the stack trace to see what's causing that.