emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ergoemacs-mode 481871c 152/325: Make ergoemacs-paste us


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode 481871c 152/325: Make ergoemacs-paste use term-paste if in term-mode
Date: Sat, 23 Oct 2021 18:48:42 -0400 (EDT)

branch: externals/ergoemacs-mode
commit 481871c631479e88ebeb8676c62845d13faa16d9
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]