changeset 98441:38ad371acd1d

(filesets-menu-name): Fix type. (filesets-menu-path, filesets-menu-before): Fix types. Change defaults to be consistent with recentf. (Bug#1056)
author Glenn Morris <rgm@gnu.org>
date Wed, 01 Oct 2008 06:59:54 +0000
parents 9f489d6f8e69
children bd0f6271cad5
files lisp/filesets.el
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/filesets.el	Tue Sep 30 23:11:17 2008 +0000
+++ b/lisp/filesets.el	Wed Oct 01 06:59:54 2008 +0000
@@ -307,21 +307,25 @@
 (defcustom filesets-menu-name "Filesets"
   "Filesets' menu name."
   :set (function filesets-set-default)
-  :type 'sexp
+  :type 'string
   :group 'filesets)
 
-(defcustom filesets-menu-path nil
+(defcustom filesets-menu-path '("File")	; cf recentf-menu-path
   "The menu under which the filesets menu should be inserted.
 See `add-submenu' for documentation."
   :set (function filesets-set-default)
-  :type 'sexp
+  :type '(choice (const :tag "Top Level" nil)
+		 (sexp :tag "Menu Path"))
+  :version "23.1"			; was nil
   :group 'filesets)
 
-(defcustom filesets-menu-before "File"
+(defcustom filesets-menu-before "Open File..." ; cf recentf-menu-before
   "The name of a menu before which this menu should be added.
 See `add-submenu' for documentation."
   :set (function filesets-set-default)
-  :type 'sexp
+  :type '(choice (string :tag "Name")
+                 (const :tag "Last" nil))
+  :version "23.1"			; was "File"
   :group 'filesets)
 
 (defcustom filesets-menu-in-menu nil