[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 9ee220d67e 12/14: Fix: (h/handler-default, h/wr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 9ee220d67e 12/14: Fix: (h/handler-default, h/write-buffer) Keep major mode if same |
Date: |
Sun, 18 Aug 2024 19:00:19 -0400 (EDT) |
branch: elpa/hyperdrive
commit 9ee220d67e535d02002731f061b00fa1e272b7f7
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (h/handler-default, h/write-buffer) Keep major mode if same
Reported-by: Adam Porter <adam@alphapapa.net>
---
hyperdrive-lib.el | 2 +-
hyperdrive.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 67d6dba23f..4f8c20c201 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1399,7 +1399,7 @@ If then, then call THEN with no arguments. Default
handler."
;; Check safe-p again after potential call to `h/mark-as-safe'.
(when (eq t (h/safe-p hyperdrive))
(let ((buffer-file-name (he/name entry)))
- (set-auto-mode)))
+ (set-auto-mode t)))
(when target
(pcase major-mode
('org-mode
diff --git a/hyperdrive.el b/hyperdrive.el
index 4d636ed341..f29b521016 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -514,7 +514,7 @@ use, see `hyperdrive-write'."
;; Check safe-p again after potential call to
`h/mark-as-safe'.
(when (eq t (h/safe-p hyperdrive))
(let ((buffer-file-name (he/name entry)))
- (set-auto-mode)))
+ (set-auto-mode t)))
(h/mode))
(he//fill entry (plz-response-headers response))
;; PUT responses only include ETag and Last-Modified
- [nongnu] elpa/hyperdrive ff828ee988 07/14: Change: (h/mark-as-safe) Use h/safe-string, (continued)
- [nongnu] elpa/hyperdrive ff828ee988 07/14: Change: (h/mark-as-safe) Use h/safe-string, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 43b0704dcf 08/14: Change: (h/describe-hyperdrive) Use h/safe-string, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 65d6204dd0 09/14: Change: (h/menu-mark-as-safe) Prompt to mark as safe/unsafe/unknown, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive dd0a28b1f7 10/14: Change: (h/write-buffer) Prompt to mark as safe when writing, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 5aba07372b 11/14: Add: (h/safe, h/unsafe, h/safe-unknown) Faces; Use in h/safe-p, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive bcfc7adaf7 14/14: Merge: Mark hyperdrive as "safe", "unsafe", or "unknown", ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive e7cb936587 01/14: Tidy: (hyperdrive-mark-as-safe) Capitalization, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 188438e59d 02/14: Change: (h/mark-as-safe) Allow marking as 'unknown, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive f57c9086dd 05/14: Add: (h/safe-string) New function, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 44ddb430de 04/14: Change: (h/handler-default) Prompt to mark safe when loading file, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 9ee220d67e 12/14: Fix: (h/handler-default, h/write-buffer) Keep major mode if same,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 708fa6096e 13/14: Docs: (hyperdrive-mark-as-safe) Document changes, ELPA Syncer, 2024/08/18