diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-14 10:21:21 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-14 10:24:41 +0200 |
| commit | ababa4f383fc038a3b03babb99e7dbbc4f1aa3aa (patch) | |
| tree | 3db78ea55707a55dbdf9c20e2dd773041fd87b2b | |
| parent | 429591c291e44bb2ed29dc1bfabedbee14ad5db1 (diff) | |
| download | soria-ababa4f383fc038a3b03babb99e7dbbc4f1aa3aa.tar.gz soria-ababa4f383fc038a3b03babb99e7dbbc4f1aa3aa.zip | |
Make 'soria-theme-purple-identifiers' interactive
This way users can mess around with this function when trying our this theme.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
| -rw-r--r-- | CHANGELOG.org | 4 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | 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]]. @@ -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))))) |
