0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-21 02:48:37 +00:00

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
This commit is contained in:
Ilya Shlyakhter 2012-03-29 22:31:14 -04:00 committed by Bastien Guerry
parent f9cea3ea1e
commit 39baf67b35

View file

@ -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