mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
bump: :lang org
doomelpa/org-contacts@f0a430442b -> doomelpa/org-contacts@b06a597368 emacs-jupyter/jupyter@db8a9e233a -> emacs-jupyter/jupyter@3615c2de16 emacs-straight/org-mode@07e380f76d87[release_9.7.26] -> emacs-straight/org-mode@74dde3abae74[release_9.7.27] hakimel/reveal.js@5c77e86301 -> hakimel/reveal.js@dfc5690c6d magit/orgit-forge@2718a6aaf0 -> magit/orgit-forge@764820769e magit/orgit@6ad0dc35c8 -> magit/orgit@efd98e5caa msnoigrs/ox-rst@99fa790da5 -> msnoigrs/ox-rst@b4ba5c7e95
This commit is contained in:
@@ -1374,15 +1374,6 @@ between the two."
|
||||
:documentation #'+org-lookup-documentation-handler)
|
||||
|
||||
(add-hook! 'org-mode-hook
|
||||
;; HACK: Somehow, users/packages still find a way to modify tab-width in
|
||||
;; org-mode. Since org-mode treats a non-standerd tab-width as an error
|
||||
;; state, I use this hook to makes it much harder to change by accident.
|
||||
(add-hook! 'after-change-major-mode-hook :local
|
||||
;; The second check is necessary, in case of `org-edit-src-code' which
|
||||
;; clones a buffer and changes its major-mode.
|
||||
(when (derived-mode-p 'org-mode)
|
||||
(setq tab-width 8)))
|
||||
|
||||
;; HACK: `save-place' can position the cursor in an invisible region. This
|
||||
;; makes it visible unless `org-inhibit-startup' or
|
||||
;; `org-inhibit-startup-visibility-stuff' is non-nil.
|
||||
|
Reference in New Issue
Block a user