emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xfaces.c [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/xfaces.c [lexbind]
Date: Tue, 06 Jul 2004 05:56:25 -0400

Index: emacs/src/xfaces.c
diff -c emacs/src/xfaces.c:1.255.2.10 emacs/src/xfaces.c:1.255.2.11
*** emacs/src/xfaces.c:1.255.2.10       Tue Jul  6 09:42:36 2004
--- emacs/src/xfaces.c  Tue Jul  6 09:44:48 2004
***************
*** 6027,6032 ****
--- 6027,6038 ----
    struct face *def_face;
    Lisp_Object attrs[LFACE_VECTOR_SIZE];
  
+   if (noninteractive || !initialized)
+     /* We may not be able to access low-level face information in batch
+        mode, or before being dumped, and this function is not going to
+        be very useful in those cases anyway, so just give up.  */
+     return Qnil;
+ 
    if (NILP (display))
      frame = selected_frame;
    else if (FRAMEP (display))




reply via email to

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