emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-operandi-theme 2d648ba 019/153: Remove superfluou


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 2d648ba 019/153: Remove superfluous optional arg in documentation
Date: Thu, 18 Mar 2021 13:47:30 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 2d648bad6fc47e617bf3341eb9f46460117e6ca3
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Remove superfluous optional arg in documentation
    
    Thanks to Manuel Uberti for reporting this in issue 84:
    https://gitlab.com/protesilaos/modus-themes/-/issues/84
---
 modus-themes.info | 74 +++++++++++++++++++++++++++----------------------------
 modus-themes.org  |  4 +--
 2 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/modus-themes.info b/modus-themes.info
index e8d85d4..cca5102 100644
--- a/modus-themes.info
+++ b/modus-themes.info
@@ -221,7 +221,7 @@ File: modus-themes.info,  Node: Toggle between the themes 
on demand,  Next: Conf
 With both themes available, it is possible to design a simple command to
 switch between them on demand.
 
-     (defun modus-themes-toggle (&optional arg)
+     (defun modus-themes-toggle ()
        "Toggle between `modus-operandi' and `modus-vivendi' themes."
        (interactive)
        (if (eq (car custom-enabled-themes) 'modus-operandi)
@@ -274,7 +274,7 @@ are just for the sake of this demonstration):
           (load-theme 'modus-%1$s t))
         theme))
 
-     (defun modus-themes-toggle (&optional arg)
+     (defun modus-themes-toggle ()
        "Toggle between `modus-operandi' and `modus-vivendi' themes."
        (interactive)
        (if (eq (car custom-enabled-themes) 'modus-operandi)
@@ -1913,41 +1913,41 @@ Node: Enable and load4927
 Node: Load automatically5500
 Node: Load at a given time or at sunset/sunrise6059
 Node: Toggle between the themes on demand8055
-Node: Configure options prior to loading8815
-Node: Customisation Options11270
-Node: Bold constructs12934
-Node: Slanted constructs13933
-Node: Syntax highlighting14524
-Node: Command prompts15253
-Node: Mode line16056
-Node: Completion UIs17310
-Node: Fringes19251
-Node: Line highlighting20015
-Node: Matching parentheses20681
-Node: Diffs21323
-Node: Org mode blocks23116
-Node: Accented headings24622
-Node: Section headings25477
-Node: Scaled headings26662
-Node: Scaled heading sizes27281
-Node: Headings' font28954
-Node: Advanced customisation (do-it-yourself)29578
-Node: Tweak colours (DIY)30498
-Node: Font configs (DIY)34132
-Node: Face coverage36496
-Node: Supported packages36998
-Node: Covered indirectly42852
-Node: Will NOT be supported43204
-Node: Notes for individual packages43922
-Node: Note for powerline or spaceline44328
-Node: Note on shr colours44700
-Node: Note for Helm grep45113
-Node: Note on vc-annotate-background-mode46560
-Node: Contributing47414
-Node: Sources of the themes47847
-Node: Issues you can help with48609
-Node: Merge requests49796
-Node: GNU Free Documentation License50878
+Node: Configure options prior to loading8802
+Node: Customisation Options11244
+Node: Bold constructs12908
+Node: Slanted constructs13907
+Node: Syntax highlighting14498
+Node: Command prompts15227
+Node: Mode line16030
+Node: Completion UIs17284
+Node: Fringes19225
+Node: Line highlighting19989
+Node: Matching parentheses20655
+Node: Diffs21297
+Node: Org mode blocks23090
+Node: Accented headings24596
+Node: Section headings25451
+Node: Scaled headings26636
+Node: Scaled heading sizes27255
+Node: Headings' font28928
+Node: Advanced customisation (do-it-yourself)29552
+Node: Tweak colours (DIY)30472
+Node: Font configs (DIY)34106
+Node: Face coverage36470
+Node: Supported packages36972
+Node: Covered indirectly42826
+Node: Will NOT be supported43178
+Node: Notes for individual packages43896
+Node: Note for powerline or spaceline44302
+Node: Note on shr colours44674
+Node: Note for Helm grep45087
+Node: Note on vc-annotate-background-mode46534
+Node: Contributing47388
+Node: Sources of the themes47821
+Node: Issues you can help with48583
+Node: Merge requests49770
+Node: GNU Free Documentation License50852
 
 End Tag Table
 
diff --git a/modus-themes.org b/modus-themes.org
index 3ba0849..e55ba07 100644
--- a/modus-themes.org
+++ b/modus-themes.org
@@ -150,7 +150,7 @@ With both themes available, it is possible to design a 
simple command to
 switch between them on demand.
 
 #+begin_src emacs-lisp
-(defun modus-themes-toggle (&optional arg)
+(defun modus-themes-toggle ()
   "Toggle between `modus-operandi' and `modus-vivendi' themes."
   (interactive)
   (if (eq (car custom-enabled-themes) 'modus-operandi)
@@ -201,7 +201,7 @@ just for the sake of this demonstration):
      (load-theme 'modus-%1$s t))
    theme))
 
-(defun modus-themes-toggle (&optional arg)
+(defun modus-themes-toggle ()
   "Toggle between `modus-operandi' and `modus-vivendi' themes."
   (interactive)
   (if (eq (car custom-enabled-themes) 'modus-operandi)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]