emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 9e59bcf59e 216/500: Fix read only .drv file issue


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 9e59bcf59e 216/500: Fix read only .drv file issue
Date: Sat, 29 Jan 2022 08:27:08 -0500 (EST)

branch: elpa/nix-mode
commit 9e59bcf59eda915483404062b7e29891043ff6f7
Author: Matthew Bauer <matthew.bauer@obsidian.systems>
Commit: Matthew Bauer <matthew.bauer@obsidian.systems>

    Fix read only .drv file issue
---
 nix-drv-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nix-drv-mode.el b/nix-drv-mode.el
index a0eb60c0f4..fdbc4f82f9 100644
--- a/nix-drv-mode.el
+++ b/nix-drv-mode.el
@@ -37,7 +37,8 @@
                (format "%s show-derivation \"%s\""
                       nix-executable
                       (buffer-file-name))))
-      (json-mode))
+      (json-mode)
+      (set-buffer-modified-p nil))
     (set-buffer-modified-p nil)
     (read-only-mode 1)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]