From cf7da1ca4a0f299bb86ab2bee3106b05bbacf5cd Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 31 May 2025 11:56:30 +0100 Subject: emacs: Adopt lexical binding --- emacs/early-init.el | 2 ++ emacs/functions.el | 2 +- emacs/init.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/early-init.el b/emacs/early-init.el index e21a5a2..7236069 100644 --- a/emacs/early-init.el +++ b/emacs/early-init.el @@ -1,3 +1,5 @@ +;; -*- lexical-binding: t -*- + (defconst my/dotfiles-directory (file-truename (concat user-emacs-directory "../")) "Directory containing all configuration files.") diff --git a/emacs/functions.el b/emacs/functions.el index b6e7f1f..21df594 100644 --- a/emacs/functions.el +++ b/emacs/functions.el @@ -1,4 +1,4 @@ -;; Path Functions +;; Path Functions -*- lexical-binding: t -*- (require 'xdg) diff --git a/emacs/init.el b/emacs/init.el index 6fa7fed..8059c10 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1,4 +1,4 @@ -;; Path Configuration +;; Path Configuration -*- lexical-binding: t -*- (setopt abbrev-file-name (my/cache-file-name "abbrev_defs") auto-save-list-file-prefix (my/cache-file-name "auto-save-list/") -- cgit v1.2.3-70-g09d2