unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] externals/detached 81ed6fc4b4: Update default session directory
       [not found] ` <20220920135736.9A1F1C00872@vcs2.savannah.gnu.org>
@ 2022-09-20 18:38   ` Stefan Monnier
  2022-10-13  8:24     ` Niklas Eklund
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2022-09-20 18:38 UTC (permalink / raw)
  To: Niklas Eklund; +Cc: emacs-devel

> -(defcustom detached-session-directory (expand-file-name "detached" user-emacs-directory)
> +(defcustom detached-session-directory
> +  (expand-file-name "detached/sessions" user-emacs-directory)

You should probably use `locate-user-emacs-file` instead, here.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [elpa] externals/detached 81ed6fc4b4: Update default session directory
  2022-09-20 18:38   ` [elpa] externals/detached 81ed6fc4b4: Update default session directory Stefan Monnier
@ 2022-10-13  8:24     ` Niklas Eklund
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Eklund @ 2022-10-13  8:24 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> -(defcustom detached-session-directory (expand-file-name "detached" user-emacs-directory)
>> +(defcustom detached-session-directory
>> +  (expand-file-name "detached/sessions" user-emacs-directory)
>
> You should probably use `locate-user-emacs-file` instead, here.
>
>
>         Stefan

Thanks for the suggestion Stefan, I will make the change :)

/Niklas



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-13  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <166368225571.25159.11939690411478342795@vcs2.savannah.gnu.org>
     [not found] ` <20220920135736.9A1F1C00872@vcs2.savannah.gnu.org>
2022-09-20 18:38   ` [elpa] externals/detached 81ed6fc4b4: Update default session directory Stefan Monnier
2022-10-13  8:24     ` Niklas Eklund

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).