help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: desktop-dirname can't be modified?


From: Peter Dyballa
Subject: Re: desktop-dirname can't be modified?
Date: Sat, 15 Nov 2008 18:00:48 +0100


Am 15.11.2008 um 15:55 schrieb Juanma Barranquero:

Documentation:
The directory in which the desktop file should be saved.

I agree that it is a bit confusing. `desktop-dirname' is not for the
user to change; it is not a defcustom, and both `desktop-read' and
`desktop-save' assign it unconditionally.


For me this works with a few versions of GNU Emacs:

(setq desktop-dirname (format "%sPDesktop-%d" user-emacs-directory ETyp))

I have in ~/.emacs.d

        drwxrwxr-x     7 pete     238 10 Aug 23:42 PDesktop-20
        drwxrwxr-x     7 pete     238  5 Sep 11:32 PDesktop-21
        drwxrwxr-x    18 pete     612 15 Nov 00:38 PDesktop-22
        drwxrwxr-x    20 pete     680 15 Nov 00:45 PDesktop-23


--
Greetings

  Pete
                      ~  o
                       ~_\\_/\
                      ~  O   O






reply via email to

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