diff options
author | Sebastien Delafond <seb@debian.org> | 2014-06-25 09:34:50 +0200 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2014-07-13 13:35:36 +0200 |
commit | eb782f21d2730bf892b7296064df27729f66849d (patch) | |
tree | 503f5d3a91d5a9e955f9601dc892dccf51aae9bd /lisp/org.el | |
parent | 0a60a1ae5b73c4569a4bdfdd56a3eeb3fbc0b3dc (diff) | |
parent | 75a81babfdc3c8c643962fd77b034b42e20cbee3 (diff) |
Imported Debian patch 8.2.7b-1
Diffstat (limited to 'lisp/org.el')
-rw-r--r-- | lisp/org.el | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lisp/org.el b/lisp/org.el index 6fb0387..adfbeaa 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5427,8 +5427,7 @@ The following commands are available: (org-add-hook 'isearch-mode-end-hook 'org-isearch-end 'append 'local) ;; Emacs 22 deals with this through a special variable (org-set-local 'outline-isearch-open-invisible-function - (lambda (&rest ignore) (org-show-context 'isearch))) - (org-add-hook 'isearch-mode-end-hook 'org-fix-ellipsis-at-bol 'append 'local)) + (lambda (&rest ignore) (org-show-context 'isearch)))) ;; Setup the pcomplete hooks (set (make-local-variable 'pcomplete-command-completion-function) @@ -5483,9 +5482,6 @@ The following commands are available: (put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify) -(defsubst org-fix-ellipsis-at-bol () - (save-excursion (set-window-start (selected-window) (window-start)))) - (defun org-find-invisible-foreground () (let ((candidates (remove "unspecified-bg" @@ -13663,8 +13659,7 @@ How much context is shown depends upon the variables (error nil)) (not (bobp))) (org-flag-heading nil) - (when siblings-p (org-show-siblings))))) - (unless (eq key 'agenda) (org-fix-ellipsis-at-bol)))) + (when siblings-p (org-show-siblings))))))) (defvar org-reveal-start-hook nil "Hook run before revealing a location.") @@ -23793,8 +23788,7 @@ Show the heading too, if it is currently invisible." isearch-mode-end-hook-quit) ;; Only when the isearch was not quitted. (org-add-hook 'post-command-hook 'org-isearch-post-command - 'append 'local))) - (org-fix-ellipsis-at-bol))) + 'append 'local))))) (defun org-isearch-post-command () "Remove self from hook, and show context." |