commit 022098d6c5fbd975ec4c5102327ea04d5840d711
parent 94990876cc1cfe58354cf30be755112620878a98
Author: Jonathan Hayase <PythonNut@users.noreply.github.com>
Date: Fri, 6 Jul 2018 16:36:56 -0700
Skip running find-file-hook (#135)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -1102,6 +1102,8 @@ buffer."
(buf nil)
(pos nil)
(opened nil)
+ ;; Skip running find-file-hook since it may prompt the user.
+ (find-file-hook nil)
;; If we end up opening a buffer, don't bother with file
;; variables. It prompts the user, and we discard the buffer
;; afterwards anyway.