diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-12 20:41:05 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-12 20:41:05 +0000 |
commit | ad7d986450960536936eca05de57c8c57b9e7e09 (patch) | |
tree | 4d4ddd90ea78e01f241debe858aad5e0b2b81659 | |
parent | 0ffcdabbae452b3172f05b66593c3162a9ff4bb1 (diff) |
x-symbol-invisible-font: Prevent using invisible font if have got x-symbol-emacs-has-font-lock-with-props
-rw-r--r-- | x-symbol/lisp/x-symbol.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 |