소스 검색

Add intangible property for emacs 23

It seems that Emacs 23 does again need the intangible text property.
Carsten Dominik 16 년 전
부모
커밋
008969cd6f
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      lisp/ChangeLog
  2. 2 1
      lisp/org-macs.el

+ 5 - 0
lisp/ChangeLog

@@ -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

+ 2 - 1
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))