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

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

[elpa] externals/rec-mode 241e824 55/98: rec-mode: don't move the pointe


From: Stefan Monnier
Subject: [elpa] externals/rec-mode 241e824 55/98: rec-mode: don't move the pointer after switching to edit buffer or edit type mode.
Date: Thu, 12 Nov 2020 13:18:39 -0500 (EST)

branch: externals/rec-mode
commit 241e8243d483a7726fe24efce37f106ffb2ccb59
Author: Jose E. Marchesi <jemarch@gnu.org>
Commit: Antoine Kalmbach <ane@iki.fi>

    rec-mode: don't move the pointer after switching to edit buffer or edit 
type mode.
---
 etc/rec-mode.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index 11072b2..43a7b6a 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -1806,7 +1806,6 @@ the file.  Interactive version."
   (widen)
   (rec-narrow-to-type (rec-record-type))
   (setq rec-update-p t)
-  (goto-char (point-min))
   (rec-set-head-line (concat "Editing type "
                              "'" (rec-record-type) "'"
                              " - use C-cC-c to return to navigation mode"))
@@ -1822,7 +1821,6 @@ the file.  Interactive version."
   (use-local-map rec-mode-edit-map)
   (widen)
   (setq rec-update-p t)
-  (goto-char (point-min))
   (rec-set-head-line "Editing buffer - use C-cC-c to return to navigation 
mode")
   (rec-set-mode-line "Edit buffer"))
 



reply via email to

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