(custom-declare-group): Purecopy load-file-name.

This commit is contained in:
Dan Nicolaescu 2009-11-11 06:12:21 +00:00
parent a4ada374d6
commit af89cf7759
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
* custom.el (custom-declare-group): Purecopy load-file-name.
* subr.el (menu-bar-separator): New defconst.
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (set-coding-system-map)

View file

@ -414,7 +414,8 @@ for more information."
;; Record the group on the `current' list.
(let ((elt (assoc load-file-name custom-current-group-alist)))
(if elt (setcdr elt symbol)
(push (cons load-file-name symbol) custom-current-group-alist)))
(push (cons (purecopy load-file-name) symbol)
custom-current-group-alist)))
(run-hooks 'custom-define-hook)
symbol)