]> git.eshelyaron.com Git - emacs.git/commitdiff
(make-coding-system): Purecopy doc-string.
authorDave Love <fx@gnu.org>
Sat, 1 Apr 2000 11:58:23 +0000 (11:58 +0000)
committerDave Love <fx@gnu.org>
Sat, 1 Apr 2000 11:58:23 +0000 (11:58 +0000)
lisp/international/mule.el

index f8e5e7426a9660866afd25cebb340580623bdfdc..7b32325db464890d53893d0672744cff299d1322 100644 (file)
@@ -636,7 +636,7 @@ a value of `safe-charsets' in PLIST."
     (aset coding-spec coding-spec-type-idx type)
     (aset coding-spec coding-spec-mnemonic-idx mnemonic)
     (aset coding-spec coding-spec-doc-string-idx
-         (if (stringp doc-string) doc-string ""))
+         (purecopy (if (stringp doc-string) doc-string "")))
     (cond ((= type 0)
           (setq coding-category 'coding-category-emacs-mule))
          ((= type 1)