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

    fix binding depth bug
---
 age.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/age.el b/age.el
index 646fcd23241..e69fa653da2 100644
--- a/age.el
+++ b/age.el
@@ -363,7 +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 ((age-inhibit t))
+      (cl-letf (((symbol-value 'age-inhibit) t))
         (insert-file-contents-literally file nil 0 100))
       (let ((lines
              ;; grab the first two lines

Reply via email to