From 0723334f59e5e97fbf94fc3b6d14c8fdfcff122d Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Sat, 26 Jan 2008 22:07:51 +0000 Subject: Revert invisible behaviour for GNU Emacs 21.X --- x-symbol/lisp/x-symbol-emacs.el | 6 ++++-- 1 file 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. -- cgit v1.2.3