mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-07 12:47:32 -05:00
Newer doom versions (after 873fc5c0db4876d9e1f347fa6cbd2a3a1933df69) has a rewritten cli interface. I could not figure out how to pass `--no-env` and `--no-fonts` (should check later if it is a bug in doom)
17 lines
848 B
EmacsLisp
17 lines
848 B
EmacsLisp
;;; -*- lexical-binding: t; -*-
|
|
(advice-add 'nix-straight-get-used-packages
|
|
:before (lambda (&rest r)
|
|
(message "Advising doom installer to gather packages to install...")
|
|
(advice-add 'doom-reload-autoloads
|
|
:override (lambda (&optional file force-p)
|
|
(message "Skipping generating autoloads...")))
|
|
(advice-add 'doom--format-print
|
|
:around (lambda (orig-print &rest r)
|
|
(let ((noninteractive nil))
|
|
(apply orig-print r))))))
|
|
|
|
(advice-add 'y-or-n-p
|
|
:override (lambda (q)
|
|
(message "%s \n--> answering NO" q)
|
|
nil))
|