magit-status-dotfiles function bug fix

This commit is contained in:
Petr Nyc
2026-01-17 23:14:08 +01:00
parent 866eed3a57
commit 516f5cd88a

View File

@@ -865,7 +865,8 @@ before packages are loaded."
(let ((default-directory (expand-file-name "~/")))
(jp/set-dotfiles-environment)
(magit-status)
(jp/unset-dotfiles-environment)))
;; (jp/unset-dotfiles-environment)
))
(with-eval-after-load 'org
;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter
@@ -1255,7 +1256,7 @@ before packages are loaded."
This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization."
(custom-set-variables
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
@@ -1295,16 +1296,16 @@ This function is called at the very end of Spacemacs initialization."
evil-nerd-commenter evil-numbers evil-org evil-surround evil-textobj-line
evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar
exotica-theme expand-region eyebrowse eziam-themes fancy-battery
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido
forge frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido forge
frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
git-timemachine gitignore-templates gntp gnuplot golden-ratio
google-translate gotham-theme grandshell-theme gruber-darker-theme
gruvbox-theme haml-mode hc-zenburn-theme hcl-mode helm-ag
helm-c-yasnippet helm-comint helm-company helm-css-scss helm-descbinds
helm-git-grep helm-ls-git helm-lsp helm-make helm-mode-manager
helm-notmuch helm-org helm-org-rifle helm-projectile helm-purpose
helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme heroku-theme
hide-comnt hierarchy highlight-indentation highlight-numbers
google-translate gotham-theme grandshell-theme groovy-imports groovy-mode
gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme hcl-mode
helm-ag helm-c-yasnippet helm-comint helm-company helm-css-scss
helm-descbinds helm-git-grep helm-ls-git helm-lsp helm-make
helm-mode-manager helm-notmuch helm-org helm-org-rifle helm-projectile
helm-purpose helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme
heroku-theme hide-comnt hierarchy highlight-indentation highlight-numbers
highlight-parentheses hl-todo holy-mode htmlize hungry-delete hybrid-mode
impatient-mode importmagic indent-guide info+ inkpot-theme insert-shebang
inspector ir-black-theme jazz-theme jbeans-theme js-doc js2-mode
@@ -1322,31 +1323,32 @@ This function is called at the very end of Spacemacs initialization."
org-mac-link org-mime org-msg org-pomodoro org-present
org-project-capture org-projectile org-rich-yank org-superstar
organic-green-theme orgit orgit-forge origami overseer ox-jira ox-twbs
pandoc-mode paradox password-generator pcre2el phoenix-dark-mono-theme
phoenix-dark-pink-theme pip-requirements pipenv pippel planet-theme
poetry popwin pos-tip prettier-js professional-theme pug-mode
purple-haze-theme py-isort pydoc pyenv-mode pylookup pytest pythonic
pyvenv quickrun railscasts-theme rainbow-delimiters rebecca-theme request
restart-emacs reverse-theme sass-mode scss-mode seti-theme shell-pop
shfmt simple-httpd skewer-mode slim-mode smeargle smyx-theme
soft-charcoal-theme soft-morning-theme soft-stone-theme solarized-theme
soothe-theme space-doc spacegray-theme spaceline spacemacs-purpose-popwin
spacemacs-whitespace-cleanup sphinx-doc string-edit-at-point
string-inflection subatomic-theme subatomic256-theme sublime-themes
sunny-day-theme symbol-overlay symon tablist tagedit tango-2-theme
tango-plus-theme tangotango-theme tao-theme term-cursor terminal-here
tern terraform-mode toc-org toml-mode toxi-theme transient treemacs-evil
treemacs-icons-dired treemacs-magit treemacs-persp treemacs-projectile
treepy twilight-anti-bright-theme twilight-bright-theme twilight-theme
ujelly-theme underwater-theme undo-fu undo-fu-session vi-tilde-fringe
vim-powerline volatile-highlights vterm vundo web-beautify
web-completion-data web-mode which-key white-sand-theme winum with-editor
writeroom-mode ws-butler yaml yaml-mode yapfify yasnippet
yasnippet-snippets zen-and-art-theme zenburn-theme zonokai-emacs)))
(custom-set-faces
pandoc-mode paradox password-generator pcache pcre2el
phoenix-dark-mono-theme phoenix-dark-pink-theme pip-requirements pipenv
pippel planet-theme poetry popwin pos-tip prettier-js professional-theme
pug-mode purple-haze-theme py-isort pydoc pyenv-mode pylookup pytest
pythonic pyvenv quickrun railscasts-theme rainbow-delimiters
rebecca-theme request restart-emacs reverse-theme sass-mode scss-mode
seti-theme shell-pop shfmt simple-httpd skewer-mode slim-mode smeargle
smyx-theme soft-charcoal-theme soft-morning-theme soft-stone-theme
solarized-theme soothe-theme space-doc spacegray-theme spaceline
spacemacs-purpose-popwin spacemacs-whitespace-cleanup sphinx-doc
string-edit-at-point string-inflection subatomic-theme subatomic256-theme
sublime-themes sunny-day-theme symbol-overlay symon tablist tagedit
tango-2-theme tango-plus-theme tangotango-theme tao-theme term-cursor
terminal-here tern terraform-mode toc-org toml-mode toxi-theme transient
treemacs-evil treemacs-icons-dired treemacs-magit treemacs-persp
treemacs-projectile treepy twilight-anti-bright-theme
twilight-bright-theme twilight-theme ujelly-theme underwater-theme
undo-fu undo-fu-session vi-tilde-fringe vim-powerline volatile-highlights
vterm vundo web-beautify web-completion-data web-mode which-key
white-sand-theme winum with-editor writeroom-mode ws-butler yaml
yaml-mode yapfify yasnippet yasnippet-snippets zen-and-art-theme
zenburn-theme zonokai-emacs)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:background nil)))))
)
)