]> git.eshelyaron.com Git - emacs.git/commitdiff
(ucs-insert): Inherit surrounding properties like self-insert-command.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Feb 2008 17:40:11 +0000 (17:40 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Feb 2008 17:40:11 +0000 (17:40 +0000)
lisp/ChangeLog
lisp/international/mule-cmds.el

index 660a1072ee7f0e39a3d02af7b41c72384999e15d..e52057bb9b830de1d4ef5194be65f1c0b0a13ea9 100644 (file)
@@ -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.
index 0621900ce4f826a8fa66eedfdcfc533757920ff3..9ff771d7137e1e93cc3fcd4f75a5c931f3d3f490 100644 (file)
@@ -2854,7 +2854,7 @@ Interactively, prompts for a hex string giving the code."
       (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