From a9c2031aee166f66c900221295eb1038107ef716 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 4 Jan 2024 11:54:42 +0800 Subject: [PATCH] fix: emacs - mouse scrolling --- home/base/desktop/editors/emacs/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/base/desktop/editors/emacs/default.nix b/home/base/desktop/editors/emacs/default.nix index 05b31b0a..3759113c 100644 --- a/home/base/desktop/editors/emacs/default.nix +++ b/home/base/desktop/editors/emacs/default.nix @@ -74,7 +74,8 @@ in { } (mkIf pkgs.stdenv.isLinux ( - let emacsPkg = pkgs.emacs29-nox; in + # Do not use emacs-nox here, which makes the mouse wheel work abnormally + let emacsPkg = pkgs.emacs29; in { home.packages = [emacsPkg]; services.emacs = { @@ -85,7 +86,7 @@ in { })) (mkIf pkgs.stdenv.isDarwin ( - let emacsPkg = pkgs.emacs29-nox; in + let emacsPkg = pkgs.emacs29; in { home.packages = [emacsPkg]; launchd.enable = true;