aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-08-07 22:05:29 +0200
committerGravatar Tom Willemse2013-08-07 22:08:01 +0200
commit9e30a9cd87c034156fadef62a53aba81317a9db5 (patch)
treebee9fe639526600ec7a702381de81cc0c0031710 /NEWS
parent577cc09c74a976622f93f38d03201d7d9379327f (diff)
downloaddesktop-registry-9e30a9cd87c034156fadef62a53aba81317a9db5.tar.gz
desktop-registry-9e30a9cd87c034156fadef62a53aba81317a9db5.zip
Signal error and specify name
- desktop-registry.el (desktop-registry-add-directory): Add an optional NAME parameter which will be asked for (in an interactive context) when the universal argument is used. Print a message if the specified directory has already been registered, signal an error when the (given or generated) name has already been used and only add the directory if neither of these conditions occur. (desktop-registry-add-current-desktop): Add optional NAME parameter which will be asked for (in an interactive context) when the universal argument is used and pass it on to `desktop-registry-add-directory'.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d8e1851..a38c431 100644
--- a/NEWS
+++ b/NEWS
@@ -12,3 +12,10 @@
- Add =desktop-registry-rename-desktop= command to rename a desktop.
- Specify prompts for each action that wants a desktop selected.
+
+ - Allow specifying of desktop name by using the universal argument.
+
+ - Signal an error when the name for a desktop (either specified or
+ generated) already exists in the registry and show a message when
+ the specified directory has already been registered. Only add the
+ directory if neither of these conditions occur.