I have always been bugged by the fact that when exiting with revive.el and windows.el enabled it opens a file and writes to it called .revive and .windows. These are saved so it goes in the recent files list. Is there anyway to make it ignore these files or any other files I desire.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
A way to make recentf
ignore some files is to add appropriate regexps to recentf-exclude
list:
(add-to-list 'recentf-exclude "\\.windows\\'")
(add-to-list 'recentf-exclude "\\.revive\\'")
This will prevent any future entries of the above from being added to the recentf
list. You need to delete the current entries in your recentf
file for them to be permanently removed or wait until they are phased out from other entries.