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

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

[elpa] externals/detached 463107a73b: Bug fix: Proper detached-session-d


From: ELPA Syncer
Subject: [elpa] externals/detached 463107a73b: Bug fix: Proper detached-session-directory init
Date: Wed, 7 Sep 2022 10:57:30 -0400 (EDT)

branch: externals/detached
commit 463107a73b7af4bc11750d83ba72fcb0c30fb5d5
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Bug fix: Proper detached-session-directory init
    
    Make sure detached-session-directory is correctly initialized when the
    user invokes detached while on a remote host.
---
 CHANGELOG.org | 3 +++
 detached.el   | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index d0d4c454f2..3668760b83 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -4,6 +4,9 @@
 
 * Development
 
+* Version 0.8.1 (2022-09-07)
+
+- Fix bug when initializing =detached-session-directory=, this worked 
incorrectly when users initialized =detached= while being on a remote host.
 - Add an =initial-mode= property to a session. This enables sessions that were 
created using =create= mode instead of =create-and-attach= to inherit this 
property when a session is being rerun.
 
 * Version 0.8.0 (2022-09-02)
diff --git a/detached.el b/detached.el
index 7c66724de0..d2a6542996 100644
--- a/detached.el
+++ b/detached.el
@@ -59,7 +59,7 @@
 
 ;;;;; Customizable
 
-(defcustom detached-session-directory (expand-file-name "detached" 
(temporary-file-directory))
+(defcustom detached-session-directory (expand-file-name "detached" 
temporary-file-directory)
   "The directory to store sessions."
   :type 'string
   :group 'detached)
@@ -199,7 +199,7 @@ Valid values are: create, new and attach")
 (defvar detached-metadata-annotators-alist nil
   "An alist of annotators for metadata.")
 
-(defconst detached-session-version "0.8.0.1"
+(defconst detached-session-version "0.8.1.0"
   "The version of `detached-session'.
 This version is encoded as [package-version].[revision].")
 
@@ -673,7 +673,7 @@ Optionally SUPPRESS-OUTPUT."
     (unless (file-exists-p detached-db-directory)
       (make-directory detached-db-directory t))
     (detached--db-initialize)
-    (detached--register-detached-emacs )
+    (detached--register-detached-emacs)
     (setq detached--db-watch
           (file-notify-add-watch detached-db-directory
                                  '(change attribute-change)



reply via email to

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