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 "~/"))) (let ((default-directory (expand-file-name "~/")))
(jp/set-dotfiles-environment) (jp/set-dotfiles-environment)
(magit-status) (magit-status)
(jp/unset-dotfiles-environment))) ;; (jp/unset-dotfiles-environment)
))
(with-eval-after-load 'org (with-eval-after-load 'org
;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter ;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter
@@ -1255,98 +1256,99 @@ before packages are loaded."
This is an auto-generated function, do not modify its content directly, use This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead. Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization." This function is called at the very end of Spacemacs initialization."
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(custom-enabled-themes '(spacemacs-dark)) '(custom-enabled-themes '(spacemacs-dark))
'(custom-safe-themes '(custom-safe-themes
'("7fea145741b3ca719ae45e6533ad1f49b2a43bf199d9afaee5b6135fd9e6f9b8" '("7fea145741b3ca719ae45e6533ad1f49b2a43bf199d9afaee5b6135fd9e6f9b8"
"810691bd221e4639d5ef736b1bd930a7fb32a7c6043a5634e04f86edea973f6d" "810691bd221e4639d5ef736b1bd930a7fb32a7c6043a5634e04f86edea973f6d"
"a0ac98a1bde5d6336295fd350155a4aac1d63c53c1b3773062271074d16ebeb5" "a0ac98a1bde5d6336295fd350155a4aac1d63c53c1b3773062271074d16ebeb5"
"bbb13492a15c3258f29c21d251da1e62f1abb8bbd492386a673dcfab474186af" "bbb13492a15c3258f29c21d251da1e62f1abb8bbd492386a673dcfab474186af"
"7fd8b914e340283c189980cd1883dbdef67080ad1a3a9cc3df864ca53bdc89cf" default)) "7fd8b914e340283c189980cd1883dbdef67080ad1a3a9cc3df864ca53bdc89cf" default))
'(notmuch-saved-searches '(notmuch-saved-searches
'((:name "To me Unread" :query "tag:me AND tag:unread" :key [109]) '((:name "To me Unread" :query "tag:me AND tag:unread" :key [109])
(:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105]))) (:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105])))
'(notmuch-search-oldest-first nil) '(notmuch-search-oldest-first nil)
'(package-selected-packages '(package-selected-packages
'(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent aidermacs aio '(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent aidermacs aio
alect-themes alert all-the-icons ample-theme ample-zen-theme alect-themes alert all-the-icons ample-theme ample-zen-theme
anaconda-mode anti-zenburn-theme apropospriate-theme auto-compile anaconda-mode anti-zenburn-theme apropospriate-theme auto-compile
auto-highlight-symbol auto-yasnippet autothemer badwolf-theme auto-highlight-symbol auto-yasnippet autothemer badwolf-theme
birds-of-paradise-plus-theme blacken bubbleberry-theme bui busybee-theme birds-of-paradise-plus-theme blacken bubbleberry-theme bui busybee-theme
centered-cursor-mode cherry-blossom-theme chocolate-theme centered-cursor-mode cherry-blossom-theme chocolate-theme
clean-aindent-mode closql clues-theme code-cells code-review clean-aindent-mode closql clues-theme code-cells code-review
color-theme-sanityinc-solarized color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized color-theme-sanityinc-tomorrow
column-enforce-mode company company-anaconda company-box column-enforce-mode company company-anaconda company-box
company-quickhelp company-shell company-statistics company-terraform company-quickhelp company-shell company-statistics company-terraform
company-web concurrent cond-let ctable cyberpunk-theme cython-mode company-web concurrent cond-let ctable cyberpunk-theme cython-mode
dakrone-theme dap-mode darkmine-theme darkokai-theme darktooth-theme dakrone-theme dap-mode darkmine-theme darkokai-theme darktooth-theme
deferred define-word devdocs diminish dired-quick-sort disable-mouse deferred define-word devdocs diminish dired-quick-sort disable-mouse
django-theme docker dockerfile-mode doom-themes dotenv-mode dracula-theme django-theme docker dockerfile-mode doom-themes dotenv-mode dracula-theme
drag-stuff dumb-jump eat edit-indirect editorconfig ef-themes elisp-def drag-stuff dumb-jump eat edit-indirect editorconfig ef-themes elisp-def
elisp-demos elisp-slime-nav emacsql emmet-mode emojify emr epc esh-help elisp-demos elisp-slime-nav emacsql emmet-mode emojify emr epc esh-help
eshell-prompt-extras eshell-z espresso-theme eval-sexp-fu evil-anzu eshell-prompt-extras eshell-z espresso-theme eval-sexp-fu evil-anzu
evil-args evil-cleverparens evil-collection evil-easymotion evil-escape evil-args evil-cleverparens evil-collection evil-easymotion evil-escape
evil-evilified-state evil-exchange evil-goggles evil-iedit-state evil-evilified-state evil-exchange evil-goggles evil-iedit-state
evil-indent-plus evil-lion evil-lisp-state evil-matchit evil-mc evil-indent-plus evil-lion evil-lisp-state evil-matchit evil-mc
evil-nerd-commenter evil-numbers evil-org evil-surround evil-textobj-line evil-nerd-commenter evil-numbers evil-org evil-surround evil-textobj-line
evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar
exotica-theme expand-region eyebrowse eziam-themes fancy-battery exotica-theme expand-region eyebrowse eziam-themes fancy-battery
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido forge
forge frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
git-timemachine gitignore-templates gntp gnuplot golden-ratio git-timemachine gitignore-templates gntp gnuplot golden-ratio
google-translate gotham-theme grandshell-theme gruber-darker-theme google-translate gotham-theme grandshell-theme groovy-imports groovy-mode
gruvbox-theme haml-mode hc-zenburn-theme hcl-mode helm-ag gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme hcl-mode
helm-c-yasnippet helm-comint helm-company helm-css-scss helm-descbinds helm-ag helm-c-yasnippet helm-comint helm-company helm-css-scss
helm-git-grep helm-ls-git helm-lsp helm-make helm-mode-manager helm-descbinds helm-git-grep helm-ls-git helm-lsp helm-make
helm-notmuch helm-org helm-org-rifle helm-projectile helm-purpose helm-mode-manager helm-notmuch helm-org helm-org-rifle helm-projectile
helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme heroku-theme helm-purpose helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme
hide-comnt hierarchy highlight-indentation highlight-numbers heroku-theme hide-comnt hierarchy highlight-indentation highlight-numbers
highlight-parentheses hl-todo holy-mode htmlize hungry-delete hybrid-mode highlight-parentheses hl-todo holy-mode htmlize hungry-delete hybrid-mode
impatient-mode importmagic indent-guide info+ inkpot-theme insert-shebang impatient-mode importmagic indent-guide info+ inkpot-theme insert-shebang
inspector ir-black-theme jazz-theme jbeans-theme js-doc js2-mode inspector ir-black-theme jazz-theme jbeans-theme js-doc js2-mode
js2-refactor json-mode json-navigator json-reformat json-snatcher js2-refactor json-mode json-navigator json-reformat json-snatcher
kaolin-themes light-soap-theme link-hint live-py-mode livid-mode kaolin-themes light-soap-theme link-hint live-py-mode livid-mode
load-env-vars log4e lorem-ipsum lsp-docker lsp-mode lsp-origami load-env-vars log4e lorem-ipsum lsp-docker lsp-mode lsp-origami
lsp-pyright lsp-treemacs lsp-ui lush-theme macrostep madhat2r-theme magit lsp-pyright lsp-treemacs lsp-ui lush-theme macrostep madhat2r-theme magit
magit-section markdown-mode markdown-toc material-theme minimal-theme magit-section markdown-mode markdown-toc material-theme minimal-theme
modus-themes moe-theme molokai-theme monochrome-theme monokai-theme modus-themes moe-theme molokai-theme monochrome-theme monokai-theme
multi-line multi-term multi-vterm multiple-cursors mustang-theme nameless multi-line multi-term multi-vterm multiple-cursors mustang-theme nameless
naquadah-theme nginx-mode noctilux-theme nodejs-repl nose notmuch naquadah-theme nginx-mode noctilux-theme nodejs-repl nose notmuch
npm-mode obsidian-theme occidental-theme ol-notmuch oldlace-theme npm-mode obsidian-theme occidental-theme ol-notmuch oldlace-theme
omtose-phellack-themes open-junk-file org-alert org-caldav omtose-phellack-themes open-junk-file org-alert org-caldav
org-category-capture org-cliplink org-contrib org-download org-jira org-category-capture org-cliplink org-contrib org-download org-jira
org-mac-link org-mime org-msg org-pomodoro org-present org-mac-link org-mime org-msg org-pomodoro org-present
org-project-capture org-projectile org-rich-yank org-superstar org-project-capture org-projectile org-rich-yank org-superstar
organic-green-theme orgit orgit-forge origami overseer ox-jira ox-twbs organic-green-theme orgit orgit-forge origami overseer ox-jira ox-twbs
pandoc-mode paradox password-generator pcre2el phoenix-dark-mono-theme pandoc-mode paradox password-generator pcache pcre2el
phoenix-dark-pink-theme pip-requirements pipenv pippel planet-theme phoenix-dark-mono-theme phoenix-dark-pink-theme pip-requirements pipenv
poetry popwin pos-tip prettier-js professional-theme pug-mode pippel planet-theme poetry popwin pos-tip prettier-js professional-theme
purple-haze-theme py-isort pydoc pyenv-mode pylookup pytest pythonic pug-mode purple-haze-theme py-isort pydoc pyenv-mode pylookup pytest
pyvenv quickrun railscasts-theme rainbow-delimiters rebecca-theme request pythonic pyvenv quickrun railscasts-theme rainbow-delimiters
restart-emacs reverse-theme sass-mode scss-mode seti-theme shell-pop rebecca-theme request restart-emacs reverse-theme sass-mode scss-mode
shfmt simple-httpd skewer-mode slim-mode smeargle smyx-theme seti-theme shell-pop shfmt simple-httpd skewer-mode slim-mode smeargle
soft-charcoal-theme soft-morning-theme soft-stone-theme solarized-theme smyx-theme soft-charcoal-theme soft-morning-theme soft-stone-theme
soothe-theme space-doc spacegray-theme spaceline spacemacs-purpose-popwin solarized-theme soothe-theme space-doc spacegray-theme spaceline
spacemacs-whitespace-cleanup sphinx-doc string-edit-at-point spacemacs-purpose-popwin spacemacs-whitespace-cleanup sphinx-doc
string-inflection subatomic-theme subatomic256-theme sublime-themes string-edit-at-point string-inflection subatomic-theme subatomic256-theme
sunny-day-theme symbol-overlay symon tablist tagedit tango-2-theme sublime-themes sunny-day-theme symbol-overlay symon tablist tagedit
tango-plus-theme tangotango-theme tao-theme term-cursor terminal-here tango-2-theme tango-plus-theme tangotango-theme tao-theme term-cursor
tern terraform-mode toc-org toml-mode toxi-theme transient treemacs-evil terminal-here tern terraform-mode toc-org toml-mode toxi-theme transient
treemacs-icons-dired treemacs-magit treemacs-persp treemacs-projectile treemacs-evil treemacs-icons-dired treemacs-magit treemacs-persp
treepy twilight-anti-bright-theme twilight-bright-theme twilight-theme treemacs-projectile treepy twilight-anti-bright-theme
ujelly-theme underwater-theme undo-fu undo-fu-session vi-tilde-fringe twilight-bright-theme twilight-theme ujelly-theme underwater-theme
vim-powerline volatile-highlights vterm vundo web-beautify undo-fu undo-fu-session vi-tilde-fringe vim-powerline volatile-highlights
web-completion-data web-mode which-key white-sand-theme winum with-editor vterm vundo web-beautify web-completion-data web-mode which-key
writeroom-mode ws-butler yaml yaml-mode yapfify yasnippet white-sand-theme winum with-editor writeroom-mode ws-butler yaml
yasnippet-snippets zen-and-art-theme zenburn-theme zonokai-emacs))) yaml-mode yapfify yasnippet yasnippet-snippets zen-and-art-theme
(custom-set-faces zenburn-theme zonokai-emacs)))
;; custom-set-faces was added by Custom. (custom-set-faces
;; If you edit it by hand, you could mess it up, so be careful. ;; custom-set-faces was added by Custom.
;; Your init file should contain only one such instance. ;; If you edit it by hand, you could mess it up, so be careful.
;; If there is more than one, they won't work right. ;; Your init file should contain only one such instance.
'(default ((t (:background nil))))) ;; If there is more than one, they won't work right.
) '(default ((t (:background nil)))))
)