Browse Source

Fix property fontification problem.

Carsten Dominik 17 years ago
parent
commit
816cc80acb
2 changed files with 3 additions and 1 deletions
  1. 2 0
      ChangeLog
  2. 1 1
      lisp/org.el

+ 2 - 0
ChangeLog

@@ -2,6 +2,8 @@
 
 	* lisp/org.el (org-op-to-function, org<>, org-string<=)
 	(org-string>=, org-string<>): New functions.
+	(org-property-re): Make sure the value contains a non-white
+	character. 
 
 2008-04-21  Carsten Dominik  <dominik@science.uva.nl>
 

+ 1 - 1
lisp/org.el

@@ -3580,7 +3580,7 @@ between words."
 
 (defvar org-font-lock-keywords nil)
 
-(defconst org-property-re (org-re "^[ \t]*\\(:\\([[:alnum:]_]+\\):\\)[ \t]*\\(\\S-.*\\)")
+(defconst org-property-re (org-re "^[ \t]*\\(:\\([[:alnum:]_]+\\):\\)[ \t]*\\([^ \t\r\n].*\\)")
   "Regular expression matching a property line.")
 
 (defun org-set-font-lock-defaults ()