How do you define and call a function in Spacemacs?
问题 I've defined a emacs / lisp function within defun dotspacemacs/user-config () like so: (defun clientdir () "docstring" neotree-dir "~/Projects/Clients" ) How do I execute it? 回答1: That function will evaluate the neotree-dir variable and discard the result, then evaluate the "~/Projects/Clients" string and return it. i.e. Your function unconditionally returns the value "~/Projects/Clients" (unless neotree-dir is not bound as a variable, in which case it will trigger an error). I am guessing