From 008969cd6f7783f7a74395493a1455f8827f0de0 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 13 Apr 2009 08:48:12 +0200 Subject: [PATCH] Add intangible property for emacs 23 It seems that Emacs 23 does again need the intangible text property. --- lisp/ChangeLog | 5 +++++ lisp/org-macs.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22dcbd89f..c6b2bd530 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-04-13 Carsten Dominik + + * org-macs.el (org-maybe-intangible): Add intangible property + again to invisible text. + 2009-04-12 Carsten Dominik * org-exp.el (org-default-export-plist): Handle undefined diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 35bb4223e..32c224f0d 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -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))