|
From: | Chong Yidong |
Subject: | bug#10977: detail from .xession-errors concerning .desktop extension of ~./emacs.desktop |
Date: | Mon, 12 Mar 2012 17:34:36 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes: > Stefan Monnier wrote: > >> That's already the case at least for searching: >> >> (defcustom desktop-path (list "." user-emacs-directory "~") > > I think the necessary change would be to make desktop-read set > desktop-dirname to user-emacs-directory if no existing desktop is found > in any of those three locations (and no DIRNAME arg was specified). I think it would be cleaner to obsolete the `desktop-path'/`desktop-base-file-name' rigmarole, and define the desktop file name explicitly using locate-user-emacs-file.
[Prev in Thread] | Current Thread | [Next in Thread] |