From: rearman Date: Thu, 11 Jun 2026 15:08:43 +0000 (-0400) Subject: Move libraries to after package loading X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=c3d4d25c791f5b3acba3fd9a15f2a9bc79d1df27;p=emacsinit.git Move libraries to after package loading sedit-mouse freaks out if it can't find expand-region. --- diff --git a/config.org b/config.org index 3d3f284..e0f1fd0 100644 --- a/config.org +++ b/config.org @@ -6,15 +6,6 @@ Set up the correct lexical binding to avoid screaming compiler #+BEGIN_SRC emacs-lisp ;;; config.el --- Emacs Configuration -*- lexical-binding: t; -*- #+END_SRC -* Load libraries -Libraries Not from the package manager -#+BEGIN_SRC emacs-lisp -(dolist (path '("sedit-mouse/" "themes/")) - (add-to-list 'load-path (concat user-emacs-directory path))) - -(dolist (file '(eng-paper-theme sedit-mouse)) - (require file)) -#+END_SRC * OS specific stuff #+BEGIN_SRC emacs-lisp (setq w32-recognize-altgr 'nil) @@ -540,6 +531,15 @@ Shows the trash file as a dired buffer (:maildir "/Drafts" :key ?d))))) #+END_SRC +* Load libraries +Libraries Not from the package manager +#+BEGIN_SRC emacs-lisp +(dolist (path '("sedit-mouse/" "themes/")) + (add-to-list 'load-path (concat user-emacs-directory path))) + +(dolist (file '(eng-paper-theme sedit-mouse)) + (require file)) +#+END_SRC * Editing ** UNIX/vi-like bindings =C-h=, =C-w=, =C-u=, et. al to work as I expect. Some functions get re-bound when these take over a default.