From 9e30a9cd87c034156fadef62a53aba81317a9db5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 7 Aug 2013 22:05:29 +0200 Subject: 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'. --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') 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. -- cgit v1.3-2-g0d8e