branch: elpa/age
commit 036884c973488515c450b009a33c7423c9baa076
Author: Bas Alberts <[email protected]>
Commit: Bas Alberts <[email protected]>

    simplify age inhibit for scrypt-p
---
 age.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/age.el b/age.el
index 6d326417496..646fcd23241 100644
--- a/age.el
+++ b/age.el
@@ -363,8 +363,7 @@ question, and the callback data (if any)."
   (when (file-exists-p (expand-file-name file))
     (with-temp-buffer
       ;; disable age file handling for this insert, we just want to grab a 
header
-      (let ((file-name-handler-alist (remq age-file-handler 
file-name-handler-alist))
-            (auto-mode-alist (remq age-file-auto-mode-alist-entry 
auto-mode-alist)))
+      (let ((age-inhibit t))
         (insert-file-contents-literally file nil 0 100))
       (let ((lines
              ;; grab the first two lines

Reply via email to