From: ueno Date: Tue, 14 Dec 2004 02:56:26 +0000 (+0000) Subject: * riece-alias.el (riece-alias-abbrev-identity-string): Return a X-Git-Tag: riece-1_0_7~80 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=18e440a7fc8173d4e0f0c7d7aa3f27a57c3119bd;p=elisp%2Friece.git * riece-alias.el (riece-alias-abbrev-identity-string): Return a copy of a string since text properties will be set on it. (riece-alias-expand-identity-string): Ditto. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9379e0b..6f6eff7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2004-12-14 Daiki Ueno + * riece-alias.el (riece-alias-abbrev-identity-string): Return a + copy of a string since text properties will be set on it. + (riece-alias-expand-identity-string): Ditto. + * riece-emacs.el (riece-normalize-modeline-string): Don't concatenate elements in modeline string. diff --git a/lisp/riece-alias.el b/lisp/riece-alias.el index d94ae85..f8243ff 100644 --- a/lisp/riece-alias.el +++ b/lisp/riece-alias.el @@ -143,7 +143,7 @@ (setq string (cdr (car alist)) alist nil) (setq alist (cdr alist))))) - string) + (copy-sequence string)) (defun riece-alias-expand-identity-string (string) (let ((alist riece-alias-alist)) @@ -156,7 +156,7 @@ (setq string (riece-alias-expand-alternate-separator string))) (if riece-alias-enable-percent-hack (setq string (riece-alias-expand-percent-hack string))) - string) + (copy-sequence string)) (defun riece-alias-insinuate () )