summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shlyakhter <ilya_shl@alum.mit.edu>2012-03-29 22:31:14 -0400
committerBastien Guerry <bzg@altern.org>2012-03-31 10:36:49 +0200
commit39baf67b35cb1810366b3a95c6b4591e47f5d0e0 (patch)
tree0c50192507967a6ec5c9a7d52d3fcd25028721c2
parentf9cea3ea1e48a9346a26ad0ac0614b37fb85b381 (diff)
downloadorg-mode-39baf67b35cb1810366b3a95c6b4591e47f5d0e0.tar.gz
Deleting properties: Fixed bug that left blank lines after deleting properties
* lisp/org.el (org-delete-property-globally): Fixed a bug that left blank line in place of the property, instead of removing the line. TINYCHANGE
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 800778e..3078eda 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14594,7 +14594,7 @@ in the current file."
(org-re-property property)
nil t)
(setq cnt (1+ cnt))
- (replace-match ""))
+ (delete-region (match-beginning 0) (1+ (point-at-eol))))
(message "Property \"%s\" removed from %d entries" property cnt)))))
(defvar org-columns-current-fmt-compiled) ; defined in org-colview.el