From 85fd1cfa83bfff596fabab6d26fd6207c158d858 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 10 Jun 2002 08:05:13 +0000 Subject: [PATCH] (line-move-finish): Inhibit field motion when computing `line-end'. --- lisp/ChangeLog | 3 +++ lisp/simple.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index be19ba2a9dc..fcd53795c80 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2002-06-10 Miles Bader + * simple.el (line-move-finish): Inhibit field motion when + computing `line-end'. + * files.el (revert-buffer): Correct typo: variable name is `buffer-file-format', not `buffer-file-formats'. diff --git a/lisp/simple.el b/lisp/simple.el index 6ae43f63770..9f01cef9f66 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2668,7 +2668,8 @@ Outline mode sets this." (line-end ;; Compute the end of the line ;; ignoring effectively intangible newlines. - (let ((inhibit-point-motion-hooks nil)) + (let ((inhibit-point-motion-hooks nil) + (inhibit-field-text-motion t)) (save-excursion (end-of-line) (point))))) ;; Move to the desired column. -- 2.39.5