[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-themes b31b6f7999: Use modus-related symbol names
From: |
ELPA Syncer |
Subject: |
[elpa] externals/modus-themes b31b6f7999: Use modus-related symbol names in some code samples |
Date: |
Mon, 15 May 2023 13:58:18 -0400 (EDT) |
branch: externals/modus-themes
commit b31b6f7999d17dd181ee6e4727e849d10c0aeb85
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use modus-related symbol names in some code samples
---
doc/modus-themes.info | 98 +++++++++++++++++++++++++--------------------------
doc/modus-themes.org | 8 ++---
2 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/doc/modus-themes.info b/doc/modus-themes.info
index 88a0f7f85f..bd27668842 100644
--- a/doc/modus-themes.info
+++ b/doc/modus-themes.info
@@ -3762,7 +3762,7 @@ load” phase of a theme, thus applying the new background
value
(otherwise you keep the old background, which likely means that the
faces will no longer be invisible).
- (defun prot-emacs-invisible-dividers ()
+ (defun my-modus-themes-invisible-dividers ()
"Make window dividers invisible.
Add this to the `modus-themes-post-load-hook'."
(let ((bg (face-background 'default)))
@@ -3772,7 +3772,7 @@ faces will no longer be invisible).
`(window-divider-first-pixel ((t :background ,bg :foreground ,bg)))
`(window-divider-last-pixel ((t :background ,bg :foreground ,bg))))))
- (add-hook 'modus-themes-post-load-hook #'prot-emacs-invisible-dividers)
+ (add-hook 'modus-themes-post-load-hook
#'my-modus-themes-invisible-dividers)
The above will work only for themes that belong to the Modus family.
For users of Emacs version 29 or higher, there exists a theme-agnostic
@@ -3780,7 +3780,7 @@ hook that takes a function with one argument—that of the
theme—and calls
in the the “post enable” phase of theme loading. Here is the above
snippet, with the necessary tweaks:
- (defun prot-emacs-invisible-dividers (_theme)
+ (defun my-modus-themes-invisible-dividers (_theme)
"Make window dividers for THEME invisible."
(let ((bg (face-background 'default)))
(custom-set-faces
@@ -3789,7 +3789,7 @@ snippet, with the necessary tweaks:
`(window-divider-first-pixel ((t :background ,bg :foreground ,bg)))
`(window-divider-last-pixel ((t :background ,bg :foreground ,bg))))))
- (add-hook 'enable-theme-functions #'prot-emacs-invisible-dividers)
+ (add-hook 'enable-theme-functions #'my-modus-themes-invisible-dividers)
Users of older versions of Emacs can read the entry herein about
defining their own theme-agnostic hook (*note A theme-agnostic hook for
@@ -6195,51 +6195,51 @@ Node: Backdrop for pdf-tools149263
Node: Toggle themes without reloading them152162
Node: A theme-agnostic hook for theme loading153438
Node: Use more spacious margins or padding in Emacs frames155891
-Node: Custom hl-todo colors159757
-Node: Add support for solaire-mode161295
-Node: Face coverage164206
-Node: Supported packages164658
-Node: Indirectly covered packages170171
-Node: Notes on individual packages171524
-Node: Note on calendarel weekday and weekend colors172624
-Node: Note on git-gutter in Doom Emacs173772
-Node: Note on php-mode multiline comments176113
-Node: Note on underlines in compilation buffers176866
-Node: Note on inline Latex in Org buffers177703
-Node: Note on dimmerel178313
-Node: Note on display-fill-column-indicator-mode179798
-Node: Note on highlight-parenthesesel181197
-Node: Note on mmm-modeel background colors187175
-Node: Note for prism189475
-Node: Note on company-mode overlay pop-up192643
-Ref: Note on company-mode overlay pop-up-Footnote-1193373
-Ref: Note on company-mode overlay pop-up-Footnote-2193440
-Node: Note on ERC escaped color sequences193495
-Ref: Note on ERC escaped color sequences-Footnote-1194923
-Node: Note on powerline or spaceline195033
-Node: Note on SHR colors195447
-Node: Note on SHR fonts195871
-Node: Note on Ement colors and fonts196510
-Node: Note on pdf-tools link hints198020
-Node: Note on the Notmuch logo200480
-Node: Note on goto-address-mode faces201018
-Node: Frequently Asked Questions202130
-Node: Is the contrast ratio about adjacent colors?202761
-Node: What does it mean to avoid exaggerations?204268
-Node: Why are colors mostly variants of blue magenta cyan?206118
-Node: What is the best setup for legibility?210424
-Node: Are these color schemes?213069
-Node: Port the Modus themes to other platforms?216751
-Node: Contributing219523
-Node: Sources of the themes219920
-Node: Issues you can help with220814
-Node: Patches require copyright assignment to the FSF222205
-Node: Acknowledgements224425
-Node: GNU Free Documentation License228483
-Node: Indices253847
-Node: Function index254026
-Node: Variable index255209
-Node: Concept index257388
+Node: Custom hl-todo colors159777
+Node: Add support for solaire-mode161315
+Node: Face coverage164226
+Node: Supported packages164678
+Node: Indirectly covered packages170191
+Node: Notes on individual packages171544
+Node: Note on calendarel weekday and weekend colors172644
+Node: Note on git-gutter in Doom Emacs173792
+Node: Note on php-mode multiline comments176133
+Node: Note on underlines in compilation buffers176886
+Node: Note on inline Latex in Org buffers177723
+Node: Note on dimmerel178333
+Node: Note on display-fill-column-indicator-mode179818
+Node: Note on highlight-parenthesesel181217
+Node: Note on mmm-modeel background colors187195
+Node: Note for prism189495
+Node: Note on company-mode overlay pop-up192663
+Ref: Note on company-mode overlay pop-up-Footnote-1193393
+Ref: Note on company-mode overlay pop-up-Footnote-2193460
+Node: Note on ERC escaped color sequences193515
+Ref: Note on ERC escaped color sequences-Footnote-1194943
+Node: Note on powerline or spaceline195053
+Node: Note on SHR colors195467
+Node: Note on SHR fonts195891
+Node: Note on Ement colors and fonts196530
+Node: Note on pdf-tools link hints198040
+Node: Note on the Notmuch logo200500
+Node: Note on goto-address-mode faces201038
+Node: Frequently Asked Questions202150
+Node: Is the contrast ratio about adjacent colors?202781
+Node: What does it mean to avoid exaggerations?204288
+Node: Why are colors mostly variants of blue magenta cyan?206138
+Node: What is the best setup for legibility?210444
+Node: Are these color schemes?213089
+Node: Port the Modus themes to other platforms?216771
+Node: Contributing219543
+Node: Sources of the themes219940
+Node: Issues you can help with220834
+Node: Patches require copyright assignment to the FSF222225
+Node: Acknowledgements224445
+Node: GNU Free Documentation License228503
+Node: Indices253867
+Node: Function index254046
+Node: Variable index255229
+Node: Concept index257408
End Tag Table
diff --git a/doc/modus-themes.org b/doc/modus-themes.org
index d58433e7ae..0d9f3ad21a 100644
--- a/doc/modus-themes.org
+++ b/doc/modus-themes.org
@@ -3670,7 +3670,7 @@ The reason we do this with a function is so we can hook
it to the
faces will no longer be invisible).
#+begin_src emacs-lisp
-(defun prot-emacs-invisible-dividers ()
+(defun my-modus-themes-invisible-dividers ()
"Make window dividers invisible.
Add this to the `modus-themes-post-load-hook'."
(let ((bg (face-background 'default)))
@@ -3680,7 +3680,7 @@ Add this to the `modus-themes-post-load-hook'."
`(window-divider-first-pixel ((t :background ,bg :foreground ,bg)))
`(window-divider-last-pixel ((t :background ,bg :foreground ,bg))))))
-(add-hook 'modus-themes-post-load-hook #'prot-emacs-invisible-dividers)
+(add-hook 'modus-themes-post-load-hook #'my-modus-themes-invisible-dividers)
#+end_src
The above will work only for themes that belong to the Modus family.
@@ -3690,7 +3690,7 @@ calls in the the "post enable" phase of theme loading.
Here is the
above snippet, with the necessary tweaks:
#+begin_src emacs-lisp
-(defun prot-emacs-invisible-dividers (_theme)
+(defun my-modus-themes-invisible-dividers (_theme)
"Make window dividers for THEME invisible."
(let ((bg (face-background 'default)))
(custom-set-faces
@@ -3699,7 +3699,7 @@ above snippet, with the necessary tweaks:
`(window-divider-first-pixel ((t :background ,bg :foreground ,bg)))
`(window-divider-last-pixel ((t :background ,bg :foreground ,bg))))))
-(add-hook 'enable-theme-functions #'prot-emacs-invisible-dividers)
+(add-hook 'enable-theme-functions #'my-modus-themes-invisible-dividers)
#+end_src
Users of older versions of Emacs can read the entry herein about
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/modus-themes b31b6f7999: Use modus-related symbol names in some code samples,
ELPA Syncer <=