branch: elpa/gruvbox-theme
commit 9f4da20bb604f9cb4829b0bb5ef25f34a5583c02
Author: Martijn Terpstra <[email protected]>
Commit: Jason Milkins <[email protected]>
Fixed gruvbox-screenshot from taking bad screenshots
Loading the theme just before taking a screenshot could cause
all-white or all-black screenshots
---
gruvbox.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/gruvbox.el b/gruvbox.el
index 052a66c3d4..8744cd68b7 100644
--- a/gruvbox.el
+++ b/gruvbox.el
@@ -74,7 +74,6 @@ Should contain 2 %s constructs to allow for theme name and
directory/prefix")
gruvbox-dark-hard))
(load-theme theme t)
(redisplay t)
- (load-theme theme t)
(shell-command (format gruvbox-screenshot-command
prefix theme))))