Name org-tree indirect buffer just with title

* lisp/org.el (org-tree-to-indirect-buffer): Remove tags from name.

Just use org-tree title for naming an indirect org-tree buffer.  If tags
are appended the name clutters mode-line.

TINYCHANGE

Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
This commit is contained in:
Stefan-W. Hahn 2016-01-06 20:20:36 +01:00 committed by Nicolas Goaziou
parent d5595ac671
commit a902c830e7
1 changed files with 1 additions and 1 deletions

View File

@ -7595,7 +7595,7 @@ frame is not changed."
(while (> (setq level (org-outline-level)) arg)
(org-up-heading-safe)))
(setq beg (point)
heading (org-get-heading))
heading (org-get-heading 'no-tags))
(org-end-of-subtree t t)
(when (org-at-heading-p) (backward-char 1))
(setq end (point)))