(mu-cite-save-registration-file): Remove text properties from the strings
authoryamaoka <yamaoka>
Thu, 5 Aug 1999 05:38:49 +0000 (05:38 +0000)
committeryamaoka <yamaoka>
Thu, 5 Aug 1999 05:38:49 +0000 (05:38 +0000)
to be registered and quote them using `prin1-to-string'.

mu-register.el

index 60e0b62..fff1023 100644 (file)
     (insert (mapconcat
             (function
              (lambda (elem)
-               (format "(\"%s\" . \"%s\")" (car elem) (cdr elem))))
+               (format "(%s . %s)"
+                       (prin1-to-string
+                        (mu-cite-remove-text-properties (car elem)))
+                       (prin1-to-string
+                        (mu-cite-remove-text-properties (cdr elem))))))
             (symbol-value mu-registration-symbol) "\n        "))
     (insert "\n        ))\n\n")
     (insert ";;; "