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


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/xfaces.c
Date: Sun, 06 Jun 2004 05:54:10 -0400

Index: emacs/src/xfaces.c
diff -c emacs/src/xfaces.c:1.296 emacs/src/xfaces.c:1.297
*** emacs/src/xfaces.c:1.296    Fri Jun  4 23:30:03 2004
--- emacs/src/xfaces.c  Sun Jun  6 09:49:12 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]