diff options
author | Tom Willemse | 2013-08-07 22:05:29 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-07 22:08:01 +0200 |
commit | 9e30a9cd87c034156fadef62a53aba81317a9db5 (patch) | |
tree | bee9fe639526600ec7a702381de81cc0c0031710 /NEWS | |
parent | 577cc09c74a976622f93f38d03201d7d9379327f (diff) | |
download | desktop-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-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |