aboutsummaryrefslogtreecommitdiffhomepage
path: root/x-symbol
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-26 22:07:51 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-26 22:07:51 +0000
commit0723334f59e5e97fbf94fc3b6d14c8fdfcff122d (patch)
treeca70de943d9224305ad9871e26ad8d4d10e89e0e /x-symbol
parent557761a55cc795e8c3792e2a7f9cc26d33714041 (diff)
Revert invisible behaviour for GNU Emacs 21.X
Diffstat (limited to 'x-symbol')
-rw-r--r--x-symbol/lisp/x-symbol-emacs.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/x-symbol/lisp/x-symbol-emacs.el b/x-symbol/lisp/x-symbol-emacs.el
index 1966328e..56382256 100644
--- a/x-symbol/lisp/x-symbol-emacs.el
+++ b/x-symbol/lisp/x-symbol-emacs.el
@@ -73,8 +73,10 @@ test."
(locate-library "syntax")))
;; with the following line, "reveal invisible around point" won't work:
-(setq x-symbol-emacs-has-font-lock-with-props 'invisible)
-;; da: above seems no longer true with, e.g., Emacs 22.1.1.
+(setq x-symbol-emacs-has-font-lock-with-props
+ (if (boundp 'font-lock-extra-managed-props)
+ 'invisible))
+;; da: above seems no longer true with, e.g., works in Emacs 22.1.1.
;; So enable this by default now since it results in better
;; display, no space between text and sub/superscripts.