Mercurial > emacs
changeset 91778:e875ea8ab4d2
(ucs-insert): Inherit surrounding properties like self-insert-command.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 11 Feb 2008 17:40:11 +0000 |
parents | ccba4c75c028 |
children | b4aeed11a1d7 |
files | lisp/ChangeLog lisp/international/mule-cmds.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <monnier@iro.umontreal.ca> + + * international/mule-cmds.el (ucs-insert): Inherit surrounding + properties like self-insert-command. + 2008-02-11 Drew Adams <drew.adams@oracle.com> * progmodes/etags.el: Add many doc strings.
--- 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