before upgrade

This commit is contained in:
Petr Nyc
2025-11-18 08:57:41 +01:00
parent 5715fd5577
commit 56a36622c1
3 changed files with 37 additions and 1 deletions

View File

@@ -683,6 +683,7 @@ before packages are loaded."
(global-set-key (kbd "<f9> s") 'jp/set-dotfiles-environment)
(global-set-key (kbd "<f9> u") 'jp/unset-dotfiles-environment)
(defun jp/set-scm-git()
(interactive)
(setq magit-git-executable "/usr/local/bin/scm-git"))
@@ -708,6 +709,23 @@ before packages are loaded."
;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter
(require 'ox-md nil t)
;; org mode should not use tabs
;; work-around for 'tab width in org files must be 8, not 2. please adjust your tab-width settings for org mode'
(defun jp/org-mode-tab-setup ()
;; Don't use real TAB characters in Org
(setq-local indent-tabs-mode nil)
;; But keep tab-width at 8 so Org's parser is happy
(setq-local tab-width 8))
(add-hook 'org-mode-hook #'pn/org-mode-tab-setup)
;; end of tabs work-around
(setq org-directory "~/Documents/org")
(setq org-default-notes-file "~/Documents/org/inbox.org")