From a82ff62dae3ad45b52f170c513d8c9913bb9a8d4 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 28 Nov 2023 16:49:51 +1100 Subject: [emacs] minor changes - google slides to odp url rewrite - fixing emacs-29 lag by setting long-line-threshold to nil --- emacs/.emacs.d/init/ycp-editing.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-editing.el') diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el index a26cee0..8d260ee 100644 --- a/emacs/.emacs.d/init/ycp-editing.el +++ b/emacs/.emacs.d/init/ycp-editing.el @@ -170,8 +170,9 @@ 'auto-mode-alist '("\\(README\\|CHANGELOG\\|COPYING\\|LICENSE\\)\\'" . text-mode)) ;; https://lists.gnu.org/archive/html/emacs-devel/2023-06/msg00113.html -(when (string< emacs-version "29") - (add-hook 'before-save-hook 'time-stamp)) +;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-11/msg01149.html +(unless (string< emacs-version "29") + (setq long-line-threshold nil)) (save-place-mode 1) -- cgit v1.2.3