mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
rm duplicate code, rm custom info dir, make org mode the default
This commit is contained in:
@@ -235,16 +235,8 @@ down and unfold it, otherwise jump paragraph as usual."
|
|||||||
'(lambda (&rest args)
|
'(lambda (&rest args)
|
||||||
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg)))
|
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg)))
|
||||||
|
|
||||||
;; always use the latest docs
|
;; I hate fundamental mode!
|
||||||
(with-eval-after-load 'info
|
(setq default-major-mode 'org-mode))
|
||||||
(info-initialize)
|
|
||||||
(add-to-list 'Info-directory-list
|
|
||||||
(expand-file-name "~/.emacs.d/lisp/org/doc")))
|
|
||||||
|
|
||||||
;; orange fringe when narrowed
|
|
||||||
(advice-add 'org-narrow-to-subtree :after
|
|
||||||
'(lambda (&rest args)
|
|
||||||
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg))))
|
|
||||||
|
|
||||||
|
|
||||||
(provide 'init-org)
|
(provide 'init-org)
|
||||||
|
|||||||
Reference in New Issue
Block a user