Jelajahi Sumber

Reverse the adding of the intangible property - this seems to be an
Emacs bug

Carsten Dominik 16 tahun lalu
induk
melakukan
5e41fee577
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      lisp/org-macs.el

+ 1 - 2
lisp/org-macs.el

@@ -85,8 +85,7 @@ 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 (not (= emacs-major-version 22))
+  (if (< emacs-major-version 22)
       `(append '(intangible t) ,props)
     props))