diff --git a/README.org b/README.org index 4e931fd..3ef6b9a 100644 --- a/README.org +++ b/README.org @@ -2226,16 +2226,10 @@ unbind the `org-babel' interface functions when ACTIVE is nil." #+name: lst:set-org-link-options #+begin_src emacs-lisp -n :results silent (with-eval-after-load 'ol - ;; I prefer setting `org-link-descriptive' to `nil' over the hook - ;; below to make `isearch' bearable when finding matches in links. - ;; Setting `org-link-descriptive' to `nil' is a breaking change, - ;; since it changes how `org-fill-paragraph' fills. - ;; (add-hook 'isearch-mode-hook - ;; (defun unset-org-link-descriptive () - ;; (when (and (derived-mode-p 'org-mode) - ;; (bound-and-true-p org-link-descriptive)) - ;; (org-toggle-link-display)))) - (setopt org-link-descriptive nil + ;; Setting `org-link-descriptive' to `t' has caused worse `isearch' + ;; behavior. Set `org-link-descriptive' interactively by calling + ;; `org-toggle-link-display'. + (setopt org-link-descriptive t org-link-file-path-type 'relative)) #+end_src