branch: externals/rec-mode
commit 241e8243d483a7726fe24efce37f106ffb2ccb59
Author: Jose E. Marchesi <[email protected]>
Commit: Antoine Kalmbach <[email protected]>
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"))