changeset 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 3401d9822c14
children 6b4d3f80fd75
files lisp/disp-table.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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.