[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/color-theme-tangotango 0555c83 39/58: Update code markup
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/color-theme-tangotango 0555c83 39/58: Update code markup |
Date: |
Thu, 21 Oct 2021 18:03:02 -0400 (EDT) |
branch: elpa/color-theme-tangotango
commit 0555c835c1a43181431685834865244d45d3f9bf
Author: Julien Barnier <julien@nozav.org>
Commit: Julien Barnier <julien@nozav.org>
Update code markup
---
README.org | 86 +++++++++++++++++++++++++++++---------------------------------
1 file changed, 40 insertions(+), 46 deletions(-)
diff --git a/README.org b/README.org
index 7c27179..23fa8b9 100644
--- a/README.org
+++ b/README.org
@@ -26,16 +26,12 @@ party package or extension.
2. Try it with =M-x load-theme=
3. If you like it, just add the following line to your =.emacs= :
-#+begin_src
-(load-theme 'tangotango t)
-#+end_src
+: (load-theme 'tangotango t)
If you prefer to place your theme files in another directory, you can just add
something like the following in your =.emacs= before loading the theme :
-#+begin_src
-(add-to-list 'custom-theme-load-path "~/.emacs.d/color-theme-tangotango")
-#+end_src
+: (add-to-list 'custom-theme-load-path "~/.emacs.d/color-theme-tangotango")
** Emacs 23
@@ -50,46 +46,44 @@ documented on
[[http://www.emacswiki.org/emacs/ColorTheme][emacswiki]]. The way
emacs and allows the selection of different themes for GUI or console based
frames :
-#+begin_src emacs-lisp
-(require 'color-theme)
-(setq color-theme-load-all-themes nil)
-
-(require 'color-theme-tangotango)
-
-;; select theme - first list element is for windowing system, second is for
console/terminal
-;; Source : http://www.emacswiki.org/emacs/ColorTheme#toc9
-(setq color-theme-choices
- '(color-theme-tangotango color-theme-tangotango))
-
-;; default-start
-(funcall (lambda (cols)
- (let ((color-theme-is-global nil))
- (eval
- (append '(if (window-system))
- (mapcar (lambda (x) (cons x nil))
- cols)))))
- color-theme-choices)
-
-;; test for each additional frame or console
-(require 'cl)
-(fset 'test-win-sys
- (funcall (lambda (cols)
- (lexical-let ((cols cols))
- (lambda (frame)
- (let ((color-theme-is-global nil))
- ;; must be current for local ctheme
- (select-frame frame)
- ;; test winsystem
- (eval
- (append '(if (window-system frame))
- (mapcar (lambda (x) (cons x nil))
- cols)))))))
- color-theme-choices ))
-;; hook on after-make-frame-functions
-(add-hook 'after-make-frame-functions 'test-win-sys)
-
-(color-theme-tangotango)
-#+end_src
+: (require 'color-theme)
+: (setq color-theme-load-all-themes nil)
+:
+: (require 'color-theme-tangotango)
+:
+: ;; select theme - first list element is for windowing system, second is for
console/terminal
+: ;; Source : http://www.emacswiki.org/emacs/ColorTheme#toc9
+: (setq color-theme-choices
+: '(color-theme-tangotango color-theme-tangotango))
+:
+: ;; default-start
+: (funcall (lambda (cols)
+: (let ((color-theme-is-global nil))
+: (eval
+: (append '(if (window-system))
+: (mapcar (lambda (x) (cons x nil))
+: cols)))))
+: color-theme-choices)
+:
+: ;; test for each additional frame or console
+: (require 'cl)
+: (fset 'test-win-sys
+: (funcall (lambda (cols)
+: (lexical-let ((cols cols))
+: (lambda (frame)
+: (let ((color-theme-is-global nil))
+: ;; must be current for local ctheme
+: (select-frame frame)
+: ;; test winsystem
+: (eval
+: (append '(if (window-system frame))
+: (mapcar (lambda (x) (cons x nil))
+: cols)))))))
+: color-theme-choices ))
+: ;; hook on after-make-frame-functions
+: (add-hook 'after-make-frame-functions 'test-win-sys)
+:
+: (color-theme-tangotango)
Note that I also had to add a (color-theme-tangotango) line at the end of my
=.gnus= file in order to apply the color theme to Gnus.
- [nongnu] elpa/color-theme-tangotango 9dc9351 16/58: Fixes file name in header., (continued)
- [nongnu] elpa/color-theme-tangotango 9dc9351 16/58: Fixes file name in header., ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango d1a861d 17/58: Adds 'Adapted-By' header., ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango fbe34d9 23/58: We must only provide the color theme, not activate it by default, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 1c218c6 36/58: Update README for screenshots and Emacs 24 installation instructions, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 0c17f7a 28/58: faces for rpm-spec mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 78bab30 31/58: Fix org-block colors and rpm-spec-obsolete-tag-face foreground, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 8b274e9 30/58: Add fontify for org-mode blocks, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango cec9d21 32/58: Modify org-block colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango fad0fa5 42/58: Add org-scheduled-previously face (fix #5), ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 00bf8fd 41/58: Add package.el install instructions, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 0555c83 39/58: Update code markup,
ELPA Syncer <=
- [nongnu] elpa/color-theme-tangotango 92a9475 53/58: Use new magit 2.1.0 faces by default., ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 5cc588e 55/58: Style the fringe the same color as the main window, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 3c0a0e9 01/58: First import, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango ae8d848 06/58: Added colors for magit (thanks to Fabian Otto), ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 7f4ec2d 18/58: Installation instructions URL is back, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 7a76b3e 35/58: Update README for screenshots and Emacs 24 installation instructions, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 0174bb5 51/58: Fix duplicate minibuffer-prompt face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 4ccedeb 44/58: Add colors for which-func-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 8db5f57 48/58: Add Flattr button, ELPA Syncer, 2021/10/21
- [nongnu] elpa/color-theme-tangotango 2de901e 47/58: Add melpa badge, ELPA Syncer, 2021/10/21