Kyle Meyer
4696aef580
goto: Avoid invoking org-mode for outline navigation
...
* lisp/org-goto.el (org-goto-location): Call make-indirect-buffer with
a non-nil CLONE to preserve the base buffer's state, avoiding a more
expensive call to org-mode.
Reported-by: Vladimir Nikishkin <lockywolf@gmail.com>
Suggested-by: Ihor Radchenko <yantar92@gmail.com>
2020-09-05 09:41:24 +02:00
Kyle Meyer
ff5fc050d3
Update copyright year to 2020
2020-01-01 13:38:46 -05:00
Marco Wahl
cdcbc2fa82
org-goto: Remove jump to point-min at every start of search
...
The jump has been unexpected and confusing and is undocumented AFAICT.
2019-02-09 16:06:06 +01:00
Marco Wahl
5b39d8e61d
org-goto: Remove needless line
2019-01-28 09:33:51 +01:00
Marco Wahl
f9a8cccafa
org-goto: Fix org-goto interface 'outline
...
* lisp/org-goto.el (org-goto-location): Set relevant variables for the
call of `with-output-to-temp-buffer' for predictable behavior.
2019-01-26 15:56:09 +01:00
Bastien
f584d37a67
Update copyright year
2019-01-01 11:50:56 +01:00
Nicolas Goaziou
823d9048e7
org-goto: Fix fontification in deep levels
...
* lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when
diving in deeper outline levels.
2018-10-14 16:51:06 +02:00
Aaron Ecay
4afb7f747b
Update declare-function calls for functions that have moved.
...
In cases where functions have moved from org.el into org-macs.el, it
is often possible to replace declare-function by (require 'org-macs)
2018-05-10 01:04:12 +01:00
Kyle Meyer
34bb61bf81
Update master-only copyright years
2018-01-07 00:28:44 -05:00
Nicolas Goaziou
048169d270
org-goto: Fix wrong number of arguments error
...
* lisp/org-goto.el (org-goto-location): Fix
`isearch-search-fun-function' binding.
2017-10-24 10:28:43 +02:00
Nicolas Goaziou
3a5b75d4ee
org-goto: Fix keymapp error
...
* lisp/org-goto.el: Remove spurious `defvar.
2017-10-24 10:28:39 +02:00
Nicolas Goaziou
c024bec29e
org-goto: Fix header
2017-10-23 09:57:13 +02:00
Nicolas Goaziou
e1c2db37ed
Extract "org-goto" code into a dedicated library
...
* lisp/org-goto.el: New file.
* lisp/org.el (org-goto-interface):
(org-goto-max-level):
(org-goto-auto-isearch):
(org-goto-local-auto-isearch):
(org-goto-ret):
(org-goto-left):
(org-goto-right):
(org-goto-quit):
(org-goto): Move to new file.
(org-goto-location): Change signature. Move to new file.
(org-goto-map): Remove function.
* lisp/org-id.el (org-id-get-with-outline-drilling): Update to new
`org-goto-location' signature.
2017-10-22 16:49:17 +02:00