diff options
author | Tom Willemse | 2013-08-07 15:55:48 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-07 22:07:38 +0200 |
commit | 89d2b34ede2e9d3c5b8294950ac979af3591c816 (patch) | |
tree | e7989f2e2224d8b11714af6c7584ed4114fad2da /README.org | |
parent | e5122febe89668170639e9648233811fd8cef3b4 (diff) | |
download | desktop-registry-89d2b34ede2e9d3c5b8294950ac979af3591c816.tar.gz desktop-registry-89d2b34ede2e9d3c5b8294950ac979af3591c816.zip |
Enable use of current desktop as default
When asking the user for a desktop it is now easy to specify that the
default should be the current desktop.
- desktop-registry.el (desktop-registry-current-desktop): Add optional
DEFAULT parameter which specifies the return value when
`desktop-dirname' is `nil', instead of previously an empty string.
(desktop-registry--completing-read): Add optional DEFAULT-CURRENT
parameter which specifies that the current desktop should be the
default when asking for a desktop.
(desktop-registry-remove-desktop): (desktop-registry-rename-desktop):
Use the current desktop as default when asking the user to select a
desktop.
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,5 +40,5 @@ to fix that. #+BEGIN_SRC emacs-lisp (add-to-list 'org-capture-templates '("t" "Task" entry nil - "* TODO %? :%(desktop-registry-current-desktop):")) + "* TODO %? :%(desktop-registry-current-desktop \"\"):")) #+END_SRC |