solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 145f53a847900cc3075aabcb4b67c249bd1168f0
parent 02cc8f5e5e62ce499ef6aab0eaf1c89cb6731111
Author: conao3 <conao3@gmail.com>
Date:   Sun,  3 Nov 2019 05:31:50 +0900

Fix some docstring

This fixes below package-lint warning
> All variables and subroutines might as well have a documentation
> string (emacs-lisp-checkdoc)

> Argument ‘color-palette’ should appear (as COLOR-PALETTE) in the doc
> string (emacs-lisp-checkdoc)

Diffstat:
Msolarized.el | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/solarized.el b/solarized.el @@ -248,6 +248,8 @@ The Returned color-palette has the same format as `solarized-color-palette'" ;;; Setup Start (defmacro solarized-with-color-variables (variant color-palette &rest body) + "Eval BODY in solarized COLOR-PALETTE. +VARIANT is 'dark or 'light." (declare (indent defun)) `(let* ((class '((class color) (min-colors 89))) (light-class (append '((background light)) class)) @@ -367,13 +369,13 @@ customize the resulting theme." When optional argument CHILDTHEME function is supplied it's invoked to further customize the resulting theme. -CORE-PALETTE is core color-palette, passed" +CORE-PALETTE is core color-palette." (declare (indent 2)) (let ((color-palette (solarized-create-color-palette core-palette))) (solarized-definition variant theme-name color-palette childtheme))) (defun solarized-definition (variant theme-name color-palette &optional childtheme) - "Create a VARIANT of the theme named THEME-NAME. + "Create a VARIANT of the theme named THEME-NAME with COLOR-PALETTE. When optional argument CHILDTHEME function is supplied it's invoked to further customize the resulting theme."