aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-08-07 15:55:48 +0200
committerGravatar Tom Willemse2013-08-07 22:07:38 +0200
commit89d2b34ede2e9d3c5b8294950ac979af3591c816 (patch)
treee7989f2e2224d8b11714af6c7584ed4114fad2da /README.org
parente5122febe89668170639e9648233811fd8cef3b4 (diff)
downloaddesktop-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.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.org b/README.org
index 04b7a78..545cf7b 100644
--- a/README.org
+++ b/README.org
@@ -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