Undo breaking change affecting `org-fill-paragraph' behavior
This commit is contained in:
parent
47dfbd348b
commit
4f84f73865
14
README.org
14
README.org
@ -2226,16 +2226,10 @@ unbind the `org-babel' interface functions when ACTIVE is nil."
|
|||||||
#+name: lst:set-org-link-options
|
#+name: lst:set-org-link-options
|
||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(with-eval-after-load 'ol
|
(with-eval-after-load 'ol
|
||||||
;; I prefer setting `org-link-descriptive' to `nil' over the hook
|
;; Setting `org-link-descriptive' to `t' has caused worse `isearch'
|
||||||
;; below to make `isearch' bearable when finding matches in links.
|
;; behavior. Set `org-link-descriptive' interactively by calling
|
||||||
;; Setting `org-link-descriptive' to `nil' is a breaking change,
|
;; `org-toggle-link-display'.
|
||||||
;; since it changes how `org-fill-paragraph' fills.
|
(setopt org-link-descriptive t
|
||||||
;; (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
|
|
||||||
org-link-file-path-type 'relative))
|
org-link-file-path-type 'relative))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user