我尝试使用 emacs lisp 的第一步"\\.synctex\\.gz"
从以下位置删除元素LaTeX-clean-intermediate-suffixes
:
(eval-after-load 'latex
'(setq my-LaTeX-clean-intermediate-suffixes (remove '"\\.synctex\\.gz" LaTeX-clean-intermediate-suffixes)); that's not working
'(setq LaTeX-clean-intermediate-suffixes
(append my-LaTeX-clean-intermediate-suffixes (list "-blx\\.bib" "\\.run\\.xml"))))
我怎样才能在这里删除这个元素?我发现remove
and delete
,都尝试了它们,但我得到了一个wrong-number-of-arguments
-type 错误。
更新
我试过这个:
(eval-after-load 'latex
(setq LaTeX-clean-intermediate-suffixes (delete "\\.synctex\\.gz" LaTeX-clean-intermediate-suffixes))
'(setq LaTeX-clean-intermediate-suffixes
(append LaTeX-clean-intermediate-suffixes (list "-blx\\.bib" "\\.run\\.xml"))))
但我在Backtrace中收到了相当长的输出:-(