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

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

[elpa] 158/287: Take out `mark-whole-buffer'


From: Matthew Fidler
Subject: [elpa] 158/287: Take out `mark-whole-buffer'
Date: Wed, 02 Jul 2014 14:45:34 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 87cd592adcc1f67120dcd662b5d8a17c748b32e4
Author: Matthew L. Fidler <address@hidden>
Date:   Thu Jun 19 06:50:21 2014 -0500

    Take out `mark-whole-buffer'
---
 ergoemacs-functions.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 14c8086..2a4ba3d 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -1815,7 +1815,9 @@ If arg is a negative prefix, copy file path only"
         (setq fn (file-name-nondirectory fn))))
     (with-temp-buffer
       (insert fn)
-      (mark-whole-buffer)
+      (push-mark (point))
+      (push-mark (point-max) nil t)
+      (goto-char (point-min))
       (ergoemacs-cut-line-or-region))))
 
 (defun ergoemacs-copy-file-name ()



reply via email to

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