[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 256/287: Add version information for themes
From: |
Matthew Fidler |
Subject: |
[elpa] 256/287: Add version information for themes |
Date: |
Wed, 02 Jul 2014 14:46:28 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit b7eeb04e7ba427c5c48fce05c61da7d6c0c447c4
Author: Matthew L. Fidler <address@hidden>
Date: Sun Jun 29 23:15:12 2014 -0500
Add version information for themes
---
ergoemacs-macros.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ergoemacs-macros.el b/ergoemacs-macros.el
index 89738af..0db6bbd 100644
--- a/ergoemacs-macros.el
+++ b/ergoemacs-macros.el
@@ -220,6 +220,8 @@ Uses `ergoemacs-theme-component--parse-keys-and-body' and
',(nth 0 kb)
'(lambda () ,@(nth 1 kb)))) ergoemacs-theme-comp-hash)))
+(declare-function ergoemacs-theme-get-version "ergoemacs-theme-engine.el")
+(declare-function ergoemacs-theme-set-version "ergoemacs-theme-engine.el")
(defmacro ergoemacs-test-layout (&rest keys-and-body)
(let ((kb (make-symbol "body-and-plist"))
(plist (make-symbol "plist"))
@@ -228,6 +230,7 @@ Uses `ergoemacs-theme-component--parse-keys-and-body' and
plist (nth 0 kb)
body (nth 1 kb))
`(let ((old-ergoemacs-theme ergoemacs-theme)
+ (old-version (ergoemacs-theme-get-version))
(macro
,(if (plist-get plist ':macro)
`(edmacro-parse-keys ,(plist-get plist ':macro) t)))
@@ -235,6 +238,7 @@ Uses `ergoemacs-theme-component--parse-keys-and-body' and
(ergoemacs-mode -1)
(setq ergoemacs-theme ,(plist-get plist ':theme))
(setq ergoemacs-keyboard-layout ,(or (plist-get plist ':layout) "us"))
+ (ergoemacs-theme-set-version ,(or (plist-get plist ':version) nil))
(ergoemacs-mode 1)
,(if (plist-get plist :cua)
`(cua-mode 1))
@@ -244,6 +248,7 @@ Uses `ergoemacs-theme-component--parse-keys-and-body' and
(ergoemacs-mode -1)
(setq ergoemacs-theme old-ergoemacs-theme)
(setq ergoemacs-keyboard-layout old-ergoemacs-keyboard-layout)
+ (ergoemacs-theme-set-version old-version)
(ergoemacs-mode 1)))))
(fset 'ergoemacs-theme-component--parse-keys-and-body
- [elpa] 248/287: Merge pull request #248 from akfoss/master, (continued)
- [elpa] 248/287: Merge pull request #248 from akfoss/master, Matthew Fidler, 2014/07/02
- [elpa] 244/287: Bug fix for cutting folded lines at the end of the line., Matthew Fidler, 2014/07/02
- [elpa] 246/287: Prefer emacs 24.4 backward-up-list, Matthew Fidler, 2014/07/02
- [elpa] 249/287: Support smartparens-mode and auto-indent-mode, Matthew Fidler, 2014/07/02
- [elpa] 247/287: Revert ergoemacs-select-text-in-quote; Make expand-region consistent, Matthew Fidler, 2014/07/02
- [elpa] 245/287: Add back reduced font-lock free ergoemacs-select-text-in-ascii-quote, Matthew Fidler, 2014/07/02
- [elpa] 255/287: Make beginning/end of line work without font-lock, Matthew Fidler, 2014/07/02
- [elpa] 253/287: Another fix for end of line or what, Matthew Fidler, 2014/07/02
- [elpa] 257/287: Fix byte-compile errors, Matthew Fidler, 2014/07/02
- [elpa] 250/287: Comment out autopair; needs to go in options menu..., Matthew Fidler, 2014/07/02
- [elpa] 256/287: Add version information for themes,
Matthew Fidler <=
- [elpa] 251/287: Modify copy-line-or-region to work with `org-mode`, Matthew Fidler, 2014/07/02
- [elpa] 258/287: Silence customize save with batch emacs., Matthew Fidler, 2014/07/02
- [elpa] 252/287: sort layouts alphabetically, Matthew Fidler, 2014/07/02
- [elpa] 260/287: Make sure `ergoemacs-hook-functions` is non-nil, Matthew Fidler, 2014/07/02
- [elpa] 259/287: Move saving last closed buffer to ergoemacs-theme, Matthew Fidler, 2014/07/02
- [elpa] 254/287: Add test for begining and ending of line, Matthew Fidler, 2014/07/02
- [elpa] 264/287: fix a typo, Matthew Fidler, 2014/07/02
- [elpa] 268/287: Run all ergoemacs- tests, Matthew Fidler, 2014/07/02
- [elpa] 265/287: More Robust ergoemacs-end-of-line-or-what (passes noninteractive test), Matthew Fidler, 2014/07/02
- [elpa] 269/287: Add autoload cookie to ergoemacs-test-layout, Matthew Fidler, 2014/07/02