emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/disptab.h,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/disptab.h,v
Date: Fri, 01 Feb 2008 16:02:15 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     08/02/01 16:01:31

Index: src/disptab.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/disptab.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- src/disptab.h       8 Jan 2008 20:44:24 -0000       1.24
+++ src/disptab.h       1 Feb 2008 16:00:53 -0000       1.25
@@ -37,7 +37,13 @@
 extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int));
 
 #define DISP_CHAR_VECTOR(dp, c) \
-  (SINGLE_BYTE_CHAR_P(c) ? (dp)->contents[c] : disp_char_vector ((dp), (c)))
+  (ASCII_CHAR_P(c)                                     \
+   ? (NILP ((dp)->ascii)                               \
+      ? (dp)->defalt                                   \
+      : (SUB_CHAR_TABLE_P ((dp)->ascii)                        \
+        ? XSUB_CHAR_TABLE ((dp)->ascii)->contents[c]   \
+        : (dp)->ascii))                                \
+   : disp_char_vector ((dp), (c)))
 
 /* Defined in window.c.  */
 extern struct Lisp_Char_Table *window_display_table P_ ((struct window *));




reply via email to

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