Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun set-compile-cmd (mode-hook cmd)
- (add-hook mode-hook (lambda ()
- (set (make-local-variable 'compile-command) cmd))))
- (add-hook mode-hook `(lambda () (set (make-local-variable 'compile-command) ',cmd))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement