]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid mutating invocation-name (tiny change)
authorKira Bruneau <kira.bruneau@gmail.com>
Thu, 15 Oct 2020 18:46:44 +0000 (14:46 -0400)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
* lisp/term/pgtk-win.el (window-system-initialization): copy invocation-name.

lisp/term/pgtk-win.el

index a41d3a3951fdd5670177109e5b609e125b05e45b..e84fbf9168f6e951c48e57f27fd1ea668036ee95 100644 (file)
@@ -303,7 +303,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
   ;; Make sure we have a valid resource name.
   (or (stringp x-resource-name)
       (let (i)
-       (setq x-resource-name invocation-name)
+       (setq x-resource-name (copy-sequence invocation-name))
 
        ;; Change any . or * characters in x-resource-name to hyphens,
        ;; so as not to choke when we use it in X resource queries.