pkgsrc/www/w3/patches/patch-ac
minoura 0ebe54ef11 Upgraded to 4.0pre.47.
Also quick port to Emacs 21.  Pre.47's changes are mostly to support Emacs 21,
but it has at least 2 problems:
 - It does not work in a TTY.
 - Mule handling is insufficient.
2002-10-18 14:50:14 +00:00

14 lines
520 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-ac,v 1.1 2002/10/18 14:50:15 minoura Exp $
--- lisp/font.el.orig Wed Nov 28 20:04:21 2001
+++ lisp/font.el Thu Oct 17 06:26:04 2002
@@ -996,7 +996,8 @@
(set-face-property face 'font-specification nil)
(apply 'set-face-font face font args))))
-(if font-running-emacs-new-redisplay
+(if (and font-running-emacs-new-redisplay
+ window-system)
(fset 'font-set-face-font 'font-set-face-font-new-redisplay))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;