From 816cc80acba3948b907b2090b626cdf9e25e90cc Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 23 Apr 2008 13:52:55 +0200 Subject: [PATCH] Fix property fontification problem. --- ChangeLog | 2 ++ lisp/org.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c4a33d857..d6875cca2 100644 --- a/ChangeLog +++ b/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 diff --git a/lisp/org.el b/lisp/org.el index 0f3755051..6d75e3ab7 100644 --- a/lisp/org.el +++ b/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 ()