我希望能够使用来自http://www.emacswiki.org/emacs/FoldingMode的 fold.el 提供的 emacs 折叠模式
我将以下内容放在我的 .emacs 文件中:
(setq load-path (cons (concat (getenv "HOME") "/.emacs.d") load-path))
(load "folding")
(folding-mode-add-find-file-hook)
(folding-add-to-marks-list 'latex-mode "%{" "%}" nil t)
然后,当我选择一个区域并运行
M-x folding-fold-region
我得到错误
Wrong type argument: char-or-string-p, nil