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)
|
||||
(set-face-attribute 'fringe nil :background tvd-fringe-narrow-bg)))
|
||||
|
||||
;; always use the latest docs
|
||||
(with-eval-after-load 'info
|
||||
(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))))
|
||||
;; I hate fundamental mode!
|
||||
(setq default-major-mode 'org-mode))
|
||||
|
||||
|
||||
(provide 'init-org)
|
||||
|
||||
Reference in New Issue
Block a user