aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Hayase <PythonNut@users.noreply.github.com>2018-07-06 16:36:56 -0700
committerWilfred Hughes <me@wilfred.me.uk>2018-07-07 00:36:56 +0100
commit022098d6c5fbd975ec4c5102327ea04d5840d711 (patch)
treeb5a621a4450e4ba40d322971da6042807126a6d4
parent94990876cc1cfe58354cf30be755112620878a98 (diff)
Skip running find-file-hook (#135)
-rw-r--r--helpful.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpful.el b/helpful.el
index f96a53d..c8b03c2 100644
--- 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.