# HG changeset patch # User Stefan Monnier # Date 1202751611 0 # Node ID e875ea8ab4d2fe8cf09ac92983bc6e07e5c0c002 # Parent ccba4c75c028342cc1ce86df03c3384d7da3694f (ucs-insert): Inherit surrounding properties like self-insert-command. diff -r ccba4c75c028 -r e875ea8ab4d2 lisp/ChangeLog --- a/lisp/ChangeLog Mon Feb 11 17:36:03 2008 +0000 +++ b/lisp/ChangeLog Mon Feb 11 17:40:11 2008 +0000 @@ -1,3 +1,8 @@ +2008-02-11 Stefan Monnier + + * international/mule-cmds.el (ucs-insert): Inherit surrounding + properties like self-insert-command. + 2008-02-11 Drew Adams * progmodes/etags.el: Add many doc strings. diff -r ccba4c75c028 -r e875ea8ab4d2 lisp/international/mule-cmds.el --- a/lisp/international/mule-cmds.el Mon Feb 11 17:36:03 2008 +0000 +++ b/lisp/international/mule-cmds.el Mon Feb 11 17:40:11 2008 +0000 @@ -2854,7 +2854,7 @@ (setq arg (string-to-number arg 16))) (if (or (< arg 0) (> arg #x10FFFF)) (error "Not a Unicode character code: 0x%X" arg)) - (insert arg)) + (insert-and-inherit arg)) ;; arch-tag: b382c432-4b36-460e-bf4c-05efd0bb18dc