emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multibyte code typo in Fformat


From: Jens Petersen
Subject: multibyte code typo in Fformat
Date: Thu, 08 Jan 2004 17:00:48 +0900
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.4 (Hosorogi) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386-redhat-linux)

I received this patch from Dave Jones.
It seems the problem still exists in cvs afaict
so I'm forwarding it here.

Can someone please apply it?  Thank you.

Jens


--- Begin Message --- Subject: emacs bug Date: Thu, 8 Jan 2004 02:14:13 +0000
--- cvs-pkgs/./emacs/emacs-21.3/src/editfns.c~  2004-01-08 02:13:31.000000000 
+0000
+++ cvs-pkgs/./emacs/emacs-21.3/src/editfns.c   2004-01-08 02:13:52.000000000 
+0000
@@ -3295,7 +3295,7 @@
            /* Anything but a string, convert to a string using princ.  */
            register Lisp_Object tem;
            tem = Fprin1_to_string (args[n], Qt);
-           if (STRING_MULTIBYTE (tem) & ! multibyte)
+           if (STRING_MULTIBYTE (tem) && ! multibyte)
              {
                multibyte = 1;
                goto retry;

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]