+2001-08-16 Miles Bader <miles@gnu.org>
+
+ * simple.el (line-move): Pass an ESCAPE-FROM-EDGE argument of t
+ when calling `constrain-to-field', to avoid problems with comint
+ prompts.
+
2001-08-15 Gerd Moellmann <gerd@gnu.org>
* emacs-lisp/cl-indent.el (lisp-indent-defmethod): New function.
;; with intangibility and point-motion hooks enabled this time.
(goto-char opoint)
(setq inhibit-point-motion-hooks nil)
- (goto-char (constrain-to-field new opoint nil t
- 'inhibit-line-move-field-capture))
+ (goto-char
+ (constrain-to-field new opoint t t 'inhibit-line-move-field-capture))
;; If intangibility processing moved us to a different line,
;; readjust the horizontal position within the line we ended up at.
(when (or (< (point) line-beg) (> (point) line-end))
(setq new (point)))
(goto-char (point-min))
(setq inhibit-point-motion-hooks nil)
- (goto-char (constrain-to-field new opoint nil t
- 'inhibit-line-move-field-capture))
+ (goto-char
+ (constrain-to-field new opoint t t 'inhibit-line-move-field-capture))
)))
nil)