branch: externals/ergoemacs-mode commit 481871c631479e88ebeb8676c62845d13faa16d9 Author: Walter Landry <wlan...@caltech.edu> Commit: Walter Landry <wlan...@caltech.edu>
Make ergoemacs-paste use term-paste if in term-mode --- ergoemacs-functions.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el index c20b349..8bc645d 100644 --- a/ergoemacs-functions.el +++ b/ergoemacs-functions.el @@ -2032,10 +2032,14 @@ This is `browse-kill-ring' if `ergoemacs-smart-paste' equals 'browse-kill-ring a When in `browse-kill-ring-mode', cycle forward through the key ring. -This does the same thing in `iseach-mode' using `isearch-yank-pop' and `isearch-yank-kill' +This does the same thing in `isearch-mode' using `isearch-yank-pop' and `isearch-yank-kill' + +If in `term-mode', run `term-paste'. " (interactive) (cond + ((eq major-mode 'term-mode) + (term-paste)) ((and isearch-mode ergoemacs-smart-paste (eq last-command 'isearch-yank-kill)) (isearch-yank-pop) (setq this-command 'isearch-yank-pop))