diff options
| author | tslil <tslil@posteo.de> | 2026-08-26 20:27:58 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-26 20:31:37 +0100 |
| commit | e22dc65d78e08e90280502a29459cc1598847a19 (patch) | |
| tree | 7cf9315fab4f78215aaeeb924a7d5e6a83685adc /emacs/inits/15-project-mgmt.el | |
| parent | 19839d3067c8bd779fc05eb0f355564b232329b3 (diff) | |
[emacs] more lexical binding changes
Diffstat (limited to 'emacs/inits/15-project-mgmt.el')
| -rw-r--r-- | emacs/inits/15-project-mgmt.el | 9 |
1 files changed, 8 insertions, 1 deletions
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) |
