Display name with with spaces, but keep symbol name underneath

* lisp/cus-edit.el (custom-unlispify-menu-entry): Display the
pretty name, but keep the real symbol name as the value (bug#41905).

Copyright-paperwork-exempt: yes
This commit is contained in:
ej-32u 2020-09-05 14:12:22 +02:00 committed by Lars Ingebrigtsen
parent 31c3f53816
commit e0c77bb62c

View file

@ -561,7 +561,8 @@ value unless you are sure you know what it does."
(unless no-suffix
(goto-char (point-max))
(insert "..."))
(buffer-string)))))
(propertize (symbol-name symbol)
'display (buffer-string))))))
(defcustom custom-unlispify-tag-names t
"Display tag names as words instead of symbols if non-nil."