Skip to content

Commit

Permalink
fix pdumper fatal for emacs-27/28
Browse files Browse the repository at this point in the history
  • Loading branch information
c0001 committed Dec 26, 2024
1 parent e79372b commit b828710
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elements/core/baron/batch/entropy-emacs-pdumper.el
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ configuration.")
(seq "pkg.el" (? "c") line-end)
(seq line-start "test.el")
(seq line-start "doom-themes-ext")
;; diff-hl use emacs-27's thread
;; feature but the mutex doesn't
;; support to be dump
"diff-hl"
;; vterm is an dynamic module which
;; can not be load while pdumper
;; session.
Expand Down
6 changes: 6 additions & 0 deletions elements/core/tentacles/entropy-emacs-codeserver.el
Original file line number Diff line number Diff line change
Expand Up @@ -1580,6 +1580,12 @@ NOTE: related to the display char height?"

(use-package lsp-javascript
:ensure nil
:defer
(or
;; pdump can not dump mutex and condvar made by
;; `make-condition-variable'
entropy/emacs-fall-love-with-pdumper
(entropy/emacs-custom-enable-lazy-load/val))
:config
;; EEMACS_MAINTENANCE:
(defun __ya/lsp-clients-typescript-server-path (ofunc &rest oargs)
Expand Down
6 changes: 6 additions & 0 deletions elements/core/tentacles/entropy-emacs-highlight.el
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,12 @@ while change themes."
diff-hl-mode)
:bind (:map diff-hl-command-map
("SPC" . diff-hl-mark-hunk))
:defer
(or
;; pdump can not dump mutex and condvar made by
;; `make-thread'
entropy/emacs-fall-love-with-pdumper
(entropy/emacs-custom-enable-lazy-load/val))
:init
(when (and (or (and entropy/emacs-microsoft-windows-unix-emulator-enable
sys/win32p)
Expand Down

0 comments on commit b828710

Please sign in to comment.