diff lisp/disp-table.el @ 29249:50050adc8385

(standard-display-underline): Don't use internal-find-face.
author Dave Love <fx@gnu.org>
date Fri, 26 May 2000 14:09:44 +0000
parents c8bfb0b55a91
children 394a5cf826d6
line wrap: on
line diff
--- a/lisp/disp-table.el	Fri May 26 13:47:12 2000 +0000
+++ b/lisp/disp-table.el	Fri May 26 14:09:44 2000 +0000
@@ -157,11 +157,10 @@
 ;;;###autoload
 (defun standard-display-underline (c uc)
   "Display character C as character UC plus underlining."
-  (if window-system (require 'faces))
   (aset standard-display-table c
 	(vector 
 	 (if window-system
-	     (logior uc (lsh (face-id (internal-find-face 'underline)) 19))
+	     (logior uc (lsh (face-id 'underline) 19))
 	   (create-glyph (concat "\e[4m" (char-to-string uc) "\e[m"))))))
 
 ;; Allocate a glyph code to display by sending STRING to the terminal.