Created
June 28, 2015 07:04
-
-
Save kootenpv/d19f6a480184647fd810 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun toggle-trans () | |
(interactive) | |
(let* ((pair (or (frame-parameter nil 'alpha) '(100 100))) | |
(alpha (apply '+ pair))) | |
(set-frame-parameter nil 'alpha | |
(if (or (null alpha) (eq alpha 200) (eq alpha 2.0)) | |
'(85 60) '(100 100))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment