Created
February 6, 2013 15:00
-
-
Save pnkfelix/4723099 to your computer and use it in GitHub Desktop.
elisp code to ease firing off my local pjs-enabled builds of firefox using an isolated profile (and thus be able to run it in parallel with my main Firefox instance).
This file contains 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 gud-pjs (command-line) | |
"Wrapper around gud-gdb that runs firefox using my pjs-alpha profile." | |
;; --P pjs-alpha | |
(interactive (list (gud-query-cmdline 'gud-gdb))) | |
(let ((new-command-line | |
(cond ((string-match " --args " command-line) | |
(concat command-line " --P pjs-alpha")) | |
(t | |
(concat command-line " --args firefox --P pjs-alpha"))))) | |
(gud-gdb new-command-line))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment