* lisp/emacs-lisp/eieio-custom.el
(eieio-read-customization-group): Slot `name' may not exist in all
classes, so protect against that (and avoid a compilation warning
about it).
;; Make the association list
(setq g (mapcar (lambda (g) (cons (symbol-name g) g)) g))
(cdr (assoc
- (completing-read (concat (oref obj name) " Custom Group: ")
- g nil t nil 'eieio-read-custom-group-history)
+ (completing-read
+ (concat
+ (if (slot-exists-p obj 'name)
+ (concat (slot-value obj (intern "name" obarray)) "")
+ "")
+ "Custom Group: ")
+ g nil t nil 'eieio-read-custom-group-history)
g)))))
(provide 'eieio-custom)