summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-04-30 16:55:38 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-30 16:56:09 +0100
commit608b9e2d95170f766d8aa925530620009898dd87 (patch)
tree2e2adf4f69eb968cef020216477d46e911646f51
parent2fb535e3a2fe89dbd389f74775d7dd9f826edff6 (diff)
downloadymh-emacs-608b9e2d95170f766d8aa925530620009898dd87.tar.gz
ymh-emacs-608b9e2d95170f766d8aa925530620009898dd87.zip
Fix some warnings in the emacs configuration
-rw-r--r--init.el20
1 files 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