From e22dc65d78e08e90280502a29459cc1598847a19 Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 26 Aug 2026 20:27:58 +0100 Subject: [emacs] more lexical binding changes --- emacs/inits/15-project-mgmt.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'emacs/inits/15-project-mgmt.el') diff --git a/emacs/inits/15-project-mgmt.el b/emacs/inits/15-project-mgmt.el index ed83477..37da9e4 100644 --- a/emacs/inits/15-project-mgmt.el +++ b/emacs/inits/15-project-mgmt.el @@ -1,6 +1,6 @@ ;;; -*- lexical-binding: t -*- -;; Time-stamp: <2026-01-02 16h59 GMT (d63c23ed)> +;; Time-stamp: <2026-08-26 20h27 BST (anker)> (defun revert-all-file-buffers () "Refresh all open file buffers without confirmation" @@ -18,3 +18,10 @@ (require 'project) (setq project-vc-extra-root-markers '("Cargo.toml" "pyproject.toml")) + +(defun my-log-edit-mode () + (when (derived-mode-p 'log-edit-mode) + (auto-fill-mode -1) + (visual-line-mode 1))) + +(add-hook 'log-edit-mode-hook 'my-log-edit-mode) -- cgit v1.2.3