change rfc-mode-directory to anywhere except ~/rfc/
restart emacs
Tips
setqrfc-mode-directory before require this package can avoid this bug. The reason is that after defvarrfc-mode-index-path, change rfc-mode-directory won't modify rfc-mode-index-path, we'd better define rfc-mode-index-path as a function.
(defun rfc-mode-index-path ()
"The path of the file containing the index of all RFC documents."
(concat rfc-mode-directory "rfc-index.txt"))
Reproduce
~/rfc/
rfc-mode-directory
to anywhere except~/rfc/
Tips
setq
rfc-mode-directory
beforerequire
this package can avoid this bug. The reason is that afterdefvar
rfc-mode-index-path
, changerfc-mode-directory
won't modifyrfc-mode-index-path
, we'd better definerfc-mode-index-path
as a function.