native-compile-prune-cache is a lisp function only

OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=366
This commit is contained in:
Dr. Werner Fink 2023-10-09 09:34:58 +00:00 committed by Git OBS Bridge
parent c619618d86
commit 1ff10a9b30

View File

@ -546,7 +546,10 @@
;;
;; New native compilation support
;; avoid useless warning, clear old eln files
(setq native-comp-async-report-warnings-errors 'silent)
(setq native-compile-prune-cache t)
(if (featurep 'native-compile)
(progn
(require 'comp)
(setq native-comp-async-report-warnings-errors 'silent)
(native-compile-prune-cache)))
;;;;;;;;;;
;; the end