aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nov.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/nov.el b/nov.el
index cb14867..f8b9bf3 100644
--- a/nov.el
+++ b/nov.el
@@ -727,6 +727,7 @@ Saving is only done if `nov-save-place-file' is set."
(recentf-add-file nov-file-name)))
(add-hook 'nov-mode-hook 'nov-add-to-recentf)
+(add-hook 'nov-mode-hook 'hack-dir-local-variables-non-file-buffer)
(provide 'nov)
;;; nov.el ends here