Created
March 11, 2012 03:44
-
-
Save legumbre/2014911 to your computer and use it in GitHub Desktop.
compile advice
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
;; Just an idea for Boscop. When (eq display-buffer-reuse-frames t) | |
;; display-buffer will raise the frame showing the compilation | |
;; buffer. This advice raises the original frame so focus is not in | |
;; the compilation buffer frame. | |
(defadvice compile (around avoid-compile-switching-frames activate) | |
(let ((cf (selected-frame))) | |
ad-do-it | |
(raise-frame cf))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment