mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
rewrote this
This commit is contained in:
parent
15a3f53cd9
commit
4965a48f4a
1 changed files with 9 additions and 8 deletions
17
init.el
17
init.el
|
|
@ -57,14 +57,15 @@
|
|||
(require 'libs)
|
||||
|
||||
(when (native-comp-available-p)
|
||||
(cond ((<= emacs-major-version 28)
|
||||
(require 'comp)
|
||||
(add-to-list 'native-comp-deferred-compilation-deny-list
|
||||
".*realgud.*"))
|
||||
(t
|
||||
(require 'comp-run)
|
||||
(add-to-list 'native-comp-jit-compilation-deny-list
|
||||
".*realgud.*")))
|
||||
(require 'comp)
|
||||
(condition-case nil
|
||||
(require 'comp-run)
|
||||
(error nil))
|
||||
(let ((symbol
|
||||
(if (boundp 'native-comp-jit-compilation-deny-list)
|
||||
'native-comp-jit-compilation-deny-list
|
||||
'native-comp-deferred-compilation-deny-list)))
|
||||
(add-to-list symbol ".*realgud.*"))
|
||||
;; (setenv "PATH" (concat "/db/sds/packages2/emacs-master/bin:" (getenv "PATH")))
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue