From 608b9e2d95170f766d8aa925530620009898dd87 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 30 Apr 2023 16:55:38 +0100 Subject: Fix some warnings in the emacs configuration --- init.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 7e09a98..ebfbd70 100644 --- a/init.el +++ b/init.el @@ -4,7 +4,7 @@ ;;; Commentary: -;; This is the main configuration for my emacs configuration. +;; This is the main configuration for my Emacs configuration. ;;; Code: @@ -60,11 +60,11 @@ Should be one of `:white-split', `:modified' or `:default'") ;; Define functions using the previous variables and `expand-file-name' to ;; calculate the full path for any file correctly. (defun ymh/expand-org-file (file) - "Expand file name relative to `ymh/org-base-dir'." + "Expand FILE name relative to `ymh/org-base-dir'." (expand-file-name file ymh/org-base-dir)) (defun ymh/expand-bib-file (file) - "Expand file name relative to `ymh/bib-base-dir'." + "Expand FILE name relative to `ymh/bib-base-dir'." (expand-file-name file ymh/bib-base-dir)) ;; Set registers for commonly accessed files, especially org-mode files that @@ -81,7 +81,7 @@ Should be one of `:white-split', `:modified' or `:default'") ;; Melpa, and in addition to that it also allows for the installation of ;; packages using git. (defvar ymh/emacs-29-p (version<= "29" emacs-version) - "Checks if the current emacs version is 29 or not.") + "Checks if the current Emacs version is 29 or not.") ;; There are also some changes that are means for MacOS only, so it's useful to ;; have a flag for that as well. @@ -453,10 +453,10 @@ https://yannherklotz.com")) :demand t :init (setq modus-themes-common-palette-overrides - '((bg-mode-line-active bg-cyan-subtle) - (border-mode-line-active bg-cyan-subtle) - (bg-mode-line-inactive bg-cyan-nuanced) - (border-mode-line-inactive bg-cyan-nuanced) + '((bg-mode-line-active bg-green-subtle) + (border-mode-line-active bg-green-subtle) + (bg-mode-line-inactive bg-green-nuanced) + (border-mode-line-inactive bg-green-nuanced) (fg-region unspecified) (bg-region bg-green-subtle))) (setq modus-themes-to-toggle @@ -468,7 +468,7 @@ https://yannherklotz.com")) (lambda () (modus-themes-with-colors (custom-set-faces - `(proof-locked-face ((,c :background ,bg-cyan-nuanced :extend t))) + `(proof-locked-face ((,c :background ,bg-green-nuanced :extend t))) `(proof-queue-face ((,c :background ,bg-magenta-nuanced :extend t))) `(proof-warning-face ((,c :inherit modus-themes-subtle-yellow))) `(coq-solve-tactics-face ((,c :inherit modus-themes-fg-red))) @@ -477,7 +477,7 @@ https://yannherklotz.com")) :style nil)))) `(fill-column-indicator ((,c :background unspecified :height unspecified))))))) - (modus-themes-load-theme 'modus-vivendi-tinted)) + (modus-themes-load-theme 'modus-operandi-tinted)) (use-package pass :ensure t -- cgit