|
@@ -9944,7 +9944,7 @@ If the property is not present at all, nil is returned."
|
|
|
(if (and range
|
|
|
(goto-char (car range))
|
|
|
(re-search-forward
|
|
|
- (concat "^[ \t]*:" property ":[ \t]*\\(.*\\S-\\)?")
|
|
|
+ (concat "^[ \t]*:" property ":[ \t]*\\(.*[^ \t\r\n\f\v]\\)?")
|
|
|
(cdr range) t))
|
|
|
;; Found the property, return it.
|
|
|
(if (match-end 1)
|
|
@@ -9968,7 +9968,7 @@ If yes, return this value. If not, return the current value of the variable."
|
|
|
(if (and range
|
|
|
(goto-char (car range))
|
|
|
(re-search-forward
|
|
|
- (concat "^[ \t]*:" property ":[ \t]*\\(.*\\S-\\)")
|
|
|
+ (concat "^[ \t]*:" property ":[ \t]*\\(.*[^ \t\r\n\f\v]\\)")
|
|
|
(cdr range) t))
|
|
|
(progn
|
|
|
(delete-region (match-beginning 0) (1+ (point-at-eol)))
|