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

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

[nongnu] elpa/hyperdrive fc8fbb9141 1/4: Revert "Fix: (h/history-current


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive fc8fbb9141 1/4: Revert "Fix: (h/history-current-entry) Move into hyperdrive-lib.el"
Date: Fri, 16 Aug 2024 22:00:43 -0400 (EDT)

branch: elpa/hyperdrive
commit fc8fbb9141e4960ce4e8ddc2f0cb77d7c007d0f1
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Revert "Fix: (h/history-current-entry) Move into hyperdrive-lib.el"
    
    This reverts commit 3eae122932b92c45e4de5a580474fc3b737c158a.
    
    Since 9815aae, this change is no longer necessary.
---
 hyperdrive-history.el | 8 ++++++++
 hyperdrive-vars.el    | 6 ------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/hyperdrive-history.el b/hyperdrive-history.el
index dea451616c..064bb85cc5 100644
--- a/hyperdrive-history.el
+++ b/hyperdrive-history.el
@@ -31,6 +31,14 @@
 (require 'hyperdrive-lib)
 (require 'hyperdrive-ewoc)
 
+;;;; Variables
+
+(defvar-local h/history-current-entry nil
+  ;; NOTE: We don't reuse `hyperdrive-current-entry' in history buffers because
+  ;; functions like `hyperdrive--find-buffer-visiting' expect only one buffer 
to
+  ;; be visiting an entry at a time.
+  "Entry for current history buffer.")
+
 ;;;; Functions
 
 (defun h/history-find-at-point (event)
diff --git a/hyperdrive-vars.el b/hyperdrive-vars.el
index 6b54dd39e1..fc2ede7c43 100644
--- a/hyperdrive-vars.el
+++ b/hyperdrive-vars.el
@@ -401,12 +401,6 @@ If the version was unexpected,
   "Entry for current buffer.")
 (put 'h/current-entry 'permanent-local t)
 
-(defvar-local h/history-current-entry nil
-  ;; NOTE: We don't reuse `hyperdrive-current-entry' in history buffers because
-  ;; functions like `hyperdrive--find-buffer-visiting' expect only one buffer 
to
-  ;; be visiting an entry at a time.
-  "Entry for current history buffer.")
-
 (defvar h/type-handlers
   `(
     ;; Directories are sent from the gateway as JSON arrays



reply via email to

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