Add intangible property for emacs 23

It seems that Emacs 23 does again need the intangible text property.
This commit is contained in:
Carsten Dominik 2009-04-13 08:48:12 +02:00
parent 99ab36b6a0
commit 008969cd6f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
* org-macs.el (org-maybe-intangible): Add intangible property
again to invisible text.
2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-default-export-plist): Handle undefined

View File

@ -85,7 +85,8 @@ In Emacs 22, this is not necessary. The intangible text property has
led to problems with flyspell. These problems are fixed in flyspell.el,
but we still avoid setting the property in Emacs 22 and later.
We use a macro so that the test can happen at compilation time."
(if (< emacs-major-version 22)
; (if (< emacs-major-version 22)
(if (not (= emacs-major-version 22))
`(append '(intangible t) ,props)
props))