From 5bedb26cb8cc705c14a3e6e8d5474bf220345775 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 11 Jul 2011 16:57:15 +0200 Subject: [PATCH] (custom-guess-name-alist): -alist variables should use the `alist' type. Suggested by Drew Adams. Fixes: debbugs:3120 --- lisp/ChangeLog | 3 +++ lisp/cus-edit.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ffba716f189..8ae1978b849 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-11 Lars Magne Ingebrigtsen + * cus-edit.el (custom-guess-name-alist): -alist variables should + use the `alist' type (bug#3120). Suggested by Drew Adams. + * printing.el: Add documentation to all the `pr-toggle-' commands. 2011-07-11 Leo (tiny change) diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 820bcfeacba..22b7cc6b3fe 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -594,7 +594,7 @@ WIDGET is the widget to apply the filter entries of MENU on." ("-function\\'" function) ("-functions\\'" (repeat function)) ("-list\\'" (repeat sexp)) - ("-alist\\'" (repeat (cons sexp sexp)))) + ("-alist\\'" (alist :key-type sexp :value-type sexp))) "Alist of (MATCH TYPE). MATCH should be a regexp matching the name of a symbol, and TYPE should -- 2.39.5