From ad7d986450960536936eca05de57c8c57b9e7e09 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Wed, 12 Dec 2007 20:41:05 +0000 Subject: x-symbol-invisible-font: Prevent using invisible font if have got x-symbol-emacs-has-font-lock-with-props --- x-symbol/lisp/x-symbol.el | 1 + 1 file changed, 1 insertion(+) diff --git a/x-symbol/lisp/x-symbol.el b/x-symbol/lisp/x-symbol.el index abc51c94..c02f27ef 100644 --- a/x-symbol/lisp/x-symbol.el +++ b/x-symbol/lisp/x-symbol.el @@ -1627,6 +1627,7 @@ It is not used if faces can have a property \"display table\", i.e., if x-symbol-invisible-display-table)) ((and (fboundp 'create-fontset-from-ascii-font) x-symbol-invisible-font + (not (eq x-symbol-emacs-has-font-lock-with-props 'invisible)) (try-font-name x-symbol-invisible-font)) ;; This is a mean and ugly hack. Since Emacs seems unable to create a ;; face that makes text invisible, we simulate it by using a minuscule -- cgit v1.2.3