diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2013-04-05 16:44:57 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2013-04-05 16:44:57 +0200 |
commit | a5d6548a57d2313dc4d1352fa9d379315159d2c4 (patch) | |
tree | 04f61b5e5c157b7634d529b0a8e4c66c93ef03ce | |
parent | 29a75d0473ae45e1639d6dddf06b54eea2027bac (diff) | |
download | org-mode-a5d6548a57d2313dc4d1352fa9d379315159d2c4.tar.gz |
Highlight only headline with agenda subtree restriction
* lisp/org-agenda.el (org-agenda-set-restriction-lock): Highlight only
the headline when agenda is restricted to a subtree. Do not
highlight the entire subtree.
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index f40d733..e40a56a 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7069,7 +7069,7 @@ in the file. Otherwise, restriction will be to the current subtree." (list (buffer-file-name (buffer-base-buffer)))) (org-back-to-heading t) (move-overlay org-agenda-restriction-lock-overlay - (point) (save-excursion (org-end-of-subtree t t) (point))) + (point) (point-at-eol)) (move-marker org-agenda-restrict-begin (point)) (move-marker org-agenda-restrict-end (save-excursion (org-end-of-subtree t t))) |