]> git.eshelyaron.com Git - emacs.git/commitdiff
Restored code lost in merge.
authorPer Abrahamsen <abraham@dina.kvl.dk>
Wed, 14 May 1997 17:38:51 +0000 (17:38 +0000)
committerPer Abrahamsen <abraham@dina.kvl.dk>
Wed, 14 May 1997 17:38:51 +0000 (17:38 +0000)
lisp/cus-edit.el

index da0f6166b91504e0157c6347fb63be5e373a8ac9..cfd76c59c6f7cadaae0e04b2f4151db4921163b2 100644 (file)
@@ -1207,7 +1207,9 @@ The list should be sorted most significant first."
   ;; Create compact status report for WIDGET.
   (let* ((parent (widget-get widget :parent))
         (state (widget-get parent :custom-state))
-        (entry (assq state custom-magic-alist))
+        (entry (assq state (if (eq (car parent) 'custom-group)
+                               custom-group-magic-alist
+                             custom-magic-alist)))
         (magic (nth 1 entry))
         (face (nth 2 entry))
         (text (nth 3 entry))