From ababa4f383fc038a3b03babb99e7dbbc4f1aa3aa Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 14 Apr 2020 10:21:21 +0200 Subject: Make 'soria-theme-purple-identifiers' interactive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way users can mess around with this function when trying our this theme. Signed-off-by: Miquel Sabaté Solà --- CHANGELOG.org | 4 ++++ README.md | 2 +- soria-theme.el | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index deef3b9..8293634 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -2,6 +2,10 @@ * Changelog +** 0.3.2 + +- Changed =soria-theme-purple-identifiers= so it's interactive. + ** 0.3.1 - Added a =build= target to the Makefile. See [[https://github.com/mssola/soria/commit/524b5a1830df4dc90a7a5fce6e06f5f4d9f77904][524b5a1830df]]. diff --git a/README.md b/README.md index 0658e2e..bf39403 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ same colors as the status line. ### soria-theme-purple-identifiers -This theme also provides one function that can be used as a hook: +This theme also provides one interactive function that can be used as a hook: `soria-theme-purple-identifiers`. As a reminder, this color theme is a port from Vim, and Vim and GNU Emacs have diff --git a/soria-theme.el b/soria-theme.el index c6f69ca..edd7775 100644 --- a/soria-theme.el +++ b/soria-theme.el @@ -1351,9 +1351,11 @@ The theme has to be reloaded after changing anything in this group." "Make function identifiers purple. This function might be used as a hook for modes that prefer having purple function identifiers instead of the default white. This might seem hackish, -but it tries to workaround discrepencies between Vim and Emacs in terms of +but it tries to workaround discrepancies between Vim and Emacs in terms of identifiers" + (interactive) + (let ((soria-purple "#dfafdf")) (set (make-local-variable 'face-remapping-alist) `((font-lock-function-name-face :foreground ,soria-purple))))) -- cgit v1.2.3