From 8b93ebc6c3c2f5c0ea3625b13aea4da2bd1459a6 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Thu, 26 Jun 2025 12:52:54 -0400 Subject: [PATCH] Add next-line-add-newlines and pgtk-wait-for-event-timeout --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index fed0e85..2644ab7 100644 --- a/init.el +++ b/init.el @@ -85,6 +85,11 @@ (setq visible-bell nil) (setq ring-bell-function #'ignore) +;; In PGTK, this timeout introduces latency. Reducing it from the default 0.1 +;; improves responsiveness of childframes and related packages. +(when (boundp 'pgtk-wait-for-event-timeout) + (setq pgtk-wait-for-event-timeout 0.001)) + ;;; Show-paren (setq show-paren-delay 0.1 @@ -128,6 +133,9 @@ ;; Prevent truncation of long function names in `imenu' listings (setq imenu-max-item-length 160) +;; Disable auto-adding a new line at the bottom when scrolling. +(setq next-line-add-newlines nil) + ;;; Files ;; Delete by moving to trash in interactive mode