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

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

[nongnu] elpa/moe-theme e326c859a0 055/352: 1. Add `moe-theme.el` for pa


From: ELPA Syncer
Subject: [nongnu] elpa/moe-theme e326c859a0 055/352: 1. Add `moe-theme.el` for packaging. 2. Remove wrong things in -pkg.el
Date: Fri, 7 Jan 2022 03:59:05 -0500 (EST)

branch: elpa/moe-theme
commit e326c859a0308be2201085d9577c976ea7dd87df
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>

    1. Add `moe-theme.el` for packaging. 2. Remove wrong things in -pkg.el
---
 moe-theme-pkg.el                 | 58 ----------------------------------------
 moe-theme-pkg.el => moe-theme.el |  4 +--
 2 files changed, 2 insertions(+), 60 deletions(-)

diff --git a/moe-theme-pkg.el b/moe-theme-pkg.el
index 0456d0e670..069774c6d5 100644
--- a/moe-theme-pkg.el
+++ b/moe-theme-pkg.el
@@ -1,59 +1 @@
-;;; moe-theme --- A colorful eye-candy theme. Moe, moe, chu!
-
-;; This program is not part of GNU Emacs. 
-;; But it is distributed under GPL v3 :-)
-;; 
-;; Author: kuanyui <azazabc123@gmail.com>
-
-;;; Commentary:
-
-;; You can take a look at screenshots and more details on:
-;;     https://github.com/kuanyui/moe-theme.el
-;; 
-;; Requirements
-;; 
-;; - Emacs 24 (or above)
-;; - 256 colors terminal (or higher)
-;;
-;; Usage
-;; 
-;; Add you to your .emacs:
-;;
-;;     (load-theme 'moe-dark t)
-;;                or
-;;     (load-theme 'moe-light t)
-;; 
-;;                
-;; Auto Switching
-;; 
-;; I prefer a terminal with a black-on-white color scheme. I found that in the 
daytime, sunlight is strong and black-on-white is more readable; However, 
white-on-black would be less harsh to the eyes at night.
-
-;; So if you like, you can add the following line to your ~/.emacs to 
automatically switch between moe-dark and moe-light according to the system 
time:
-;;
-;;     (require 'moe-theme-switcher)
-;; 
-;; By adding the line above, your Emacs will have a light theme in the day and 
a dark one at night. =w=+
-;; 
-;; 
-;; Live in Antarctica?
-;; 
-;; Daytime is longer in summer but shorter in winter; or you live in a high 
latitude region which midnight-sun or polar-night may occur such as Finland or 
Antarctica?
-;; 
-;; There's a variable `moe-theme-switch-by-sunrise-and-sunset` would solve 
your problem (default value is `t`)
-;; 
-;; If this value is `nil`, `moe-theme-switcher` will switch theme at fixed 
time (06:00 and 18:00).
-;; 
-;; If this value is `t` and both `calendar-latitude` and `calendar-longitude` 
are set properly, the switching will be triggered at the sunrise and sunset 
time of the local calendar.
-;; 
-;; Take "Keelung, Taiwan" (25N,121E) for example, you can set like this:
-;; 
-;;     (setq calendar-latitude +25)
-;;     (setq calendar-longitude +121)
-
-
-;;;###autoload
-(when load-file-name
-  (add-to-list 'custom-theme-load-path
-               (file-name-as-directory (file-name-directory load-file-name))))
-
 (define-package "moe-theme" "SNAPSHOT" "A colorful eye-candy theme. Moe, moe, 
chu!" nil)
diff --git a/moe-theme-pkg.el b/moe-theme.el
similarity index 94%
copy from moe-theme-pkg.el
copy to moe-theme.el
index 0456d0e670..cac062a205 100644
--- a/moe-theme-pkg.el
+++ b/moe-theme.el
@@ -2,6 +2,8 @@
 
 ;; This program is not part of GNU Emacs. 
 ;; But it is distributed under GPL v3 :-)
+;;
+;; *This file is established for packaging. If you want to install manually, 
check README.md instead of this!*
 ;; 
 ;; Author: kuanyui <azazabc123@gmail.com>
 
@@ -55,5 +57,3 @@
 (when load-file-name
   (add-to-list 'custom-theme-load-path
                (file-name-as-directory (file-name-directory load-file-name))))
-
-(define-package "moe-theme" "SNAPSHOT" "A colorful eye-candy theme. Moe, moe, 
chu!" nil)



reply via email to

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