Skip to content

Conversation

@ustun
Copy link
Contributor

@ustun ustun commented May 9, 2017

Fixes #1987

Previously, we were only updating faces when we enable themes.
@ustun ustun force-pushed the fix_disable_theme_color_fix branch from 88f0558 to 79e9c1c Compare May 9, 2017 08:43
@bbatsov bbatsov merged commit d84b8a8 into clojure-emacs:master May 9, 2017
@bbatsov
Copy link
Member

bbatsov commented May 9, 2017

👍

(setq cider-docview-code-background-color (cider-scale-background-color)))


(defadvice disable-theme (after cider-docview-adapt-to-theme activate)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use advice-add from nadvice.el? It's the recommended way for newer versions of Emacs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thought crossed my mind as well, but we'd have to update the existing code for consistency as well. We can always do this down the road.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants