Hot answers tagged

1

This switches to the R REPL buffer in its window, or in the the current one if no window is displaying it, and clears the screen. (defun my-r-clear-buffer () (interactive) (pop-to-buffer (ess-get-process-buffer) '((display-buffer-reuse-window display-buffer-same-window))) (comint-clear-buffer)) (define-key ...


1

(global-set-key [f5] (lambda () (interactive) (let ((current-prefix-arg '(4))) (call-interactively 'compile))))


Only top voted, non community-wiki answers of a minimum length are eligible