[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 212/287: modified ergoemacs-cut-all so it doesn't join previous c
From: |
Matthew Fidler |
Subject: |
[elpa] 212/287: modified ergoemacs-cut-all so it doesn't join previous cut. |
Date: |
Wed, 02 Jul 2014 14:46:05 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 84197bb784fd23c8d4b4a9e4a98552e6cc738b6c
Author: Xah Lee <address@hidden>
Date: Tue Jun 24 21:00:44 2014 -0700
modified ergoemacs-cut-all so it doesn't join previous cut.
---
ergoemacs-functions.el | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 4b3278b..e21432e 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -285,21 +285,19 @@ C-u C=u deletes old byte compilde `ergoemacs-mode' files."
(ergoemacs-with-global
(ergoemacs-real-key-binding (kbd "M-TAB")))))
-
-
(defun ergoemacs-copy-all ()
- "Put the whole buffer content into the kill-ring.
-If narrow-to-region is in effect, then copy that region only."
+ "Put the whole buffer content into the `kill-ring'.
+If `narrow-to-region' is in effect, then copy that region only."
(interactive)
(kill-new (buffer-string))
- (message "Buffer content copied copy-region-as-kill"))
+ (message "Buffer content copied."))
(defun ergoemacs-cut-all ()
- "Cut the whole buffer content into the kill-ring.
-If narrow-to-region is in effect, then cut that region only."
+ "Cut the whole buffer content into the `kill-ring'.
+If `narrow-to-region' is in effect, then cut that region only."
(interactive)
- (kill-region (point-min) (point-max))
- (message "Buffer content cut"))
+ (kill-new (buffer-string))
+ (delete-region (point-min) (point-max)))
(defvar cua-mode)
(declare-function cua-copy-rectangle "cua-rect.el")
- [elpa] 191/287: change downcase and UPCASE for being more clear., (continued)
- [elpa] 191/287: change downcase and UPCASE for being more clear., Matthew Fidler, 2014/07/02
- [elpa] 208/287: Fix helm-M-x keys again., Matthew Fidler, 2014/07/02
- [elpa] 206/287: Remove debugging comment for ergoemacs-rm-key, Matthew Fidler, 2014/07/02
- [elpa] 207/287: Fix ergoemacs-pushnew Issue #244., Matthew Fidler, 2014/07/02
- [elpa] 209/287: Declare ergoemacs-use-M-x-p, Matthew Fidler, 2014/07/02
- [elpa] 210/287: Test Issue #243. C-c C-c M-x vs C-c C-c., Matthew Fidler, 2014/07/02
- [elpa] 211/287: Add send outlook files to emacs, Matthew Fidler, 2014/07/02
- [elpa] 213/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 215/287: Merge pull request #245 from bmalehorn/programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 214/287: fix incorrect ergoemacs-layout-programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 212/287: modified ergoemacs-cut-all so it doesn't join previous cut.,
Matthew Fidler <=
- [elpa] 216/287: Drop FIXME, Matthew Fidler, 2014/07/02
- [elpa] 223/287: Remove archive-mode and ses-mode from menus. Issue #246., Matthew Fidler, 2014/07/02
- [elpa] 217/287: Fix image generation and autohotkey generation, Matthew Fidler, 2014/07/02
- [elpa] 220/287: Partial Fix for Issue #243, Matthew Fidler, 2014/07/02
- [elpa] 222/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 221/287: Be more careful with links. Issue #247, Matthew Fidler, 2014/07/02
- [elpa] 225/287: Added disabling to redo based on undo-tree-mode, Matthew Fidler, 2014/07/02
- [elpa] 218/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 231/287: Change layout descriptions, Matthew Fidler, 2014/07/02
- [elpa] 229/287: Fix order of operations, Matthew Fidler, 2014/07/02