Skip to content

Commit

Permalink
used org-heading-components for extracting header without tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Riley committed Sep 12, 2010
1 parent a43196d commit b1ed999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-googlecl.el
Expand Up @@ -62,7 +62,7 @@ t"
(save-excursion
(set-mark (goto-char (org-entry-beginning-position)))
(let ((blabels (mapconcat 'identity (org-get-tags) ","))
(btitle (org-trim (replace-regexp-in-string (org-get-tags-string) "" (org-get-heading)) )))
(btitle (nth 4 (org-heading-components))))
(org-forward-same-level 1 t)
(googlecl-blog t btitle blabels))))

Expand Down

0 comments on commit b1ed999

Please sign in to comment.