aboutsummaryrefslogtreecommitdiffhomepage
path: root/x-symbol
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-10 13:57:34 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-10 13:57:34 +0000
commitc3d17961dee7f65a338f5161f62d4949a19daecf (patch)
tree39a194feb2c3630d0d6848fe71d8e84a6e64b2d0 /x-symbol
parentd5705d12a037b24fbd1c4db002feb92c7b01fccd (diff)
Enable invisible font lock property for Emacs now, reveal invisible seems to work OK.
Diffstat (limited to 'x-symbol')
-rw-r--r--x-symbol/lisp/x-symbol-emacs.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/x-symbol/lisp/x-symbol-emacs.el b/x-symbol/lisp/x-symbol-emacs.el
index 382fc263..18212be3 100644
--- a/x-symbol/lisp/x-symbol-emacs.el
+++ b/x-symbol/lisp/x-symbol-emacs.el
@@ -71,8 +71,13 @@ test."
(fboundp 'copy-tree)
(locate-library "font-core")
(locate-library "syntax")))
+
;; with the following line, "reveal invisible around point" won't work:
-;; (setq x-symbol-emacs-has-font-lock-with-props 'invisible)
+(setq x-symbol-emacs-has-font-lock-with-props 'invisible)
+;; da: above seems no longer true with, e.g., Emacs 22.1.1.
+;; So enable this by default now since it results in better
+;; display, no space between text and sub/superscripts.
+
;; lisp/warnings.el,v 1.6(new): recommended
(condition-case nil (require 'warnings) (error))