失敗例
エラー出る
"Wrong type argument: wholenump, nil"
(setq basedir (file-name-as-directory "~/.emacs.d/site-lisp")) (setq yas/snippet-dirs '( "~/.emacs.d/site-lisp/yasnippets-snippets/snippets" "~/.emacs.d/site-lisp/yasnippets-snippets/custom-snippets" ))
改善策
『list』使うと大丈夫になった
(setq basedir (file-name-as-directory "~/.emacs.d/site-lisp")) (setq yas/snippet-dirs (list (concat basedir "yasnippets-snippets/snippets/") (concat basedir "yasnippets-snippets/custom-snippets/") ))