changeset 10142:7151108ed6a0

(rmail-summary-goto-msg): When highlighting, don't skip 1st char on line if it isn't a space.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Dec 1994 09:16:23 +0000
parents afe81fd385eb
children 33d8e8e8d46b
files lisp/mail/rmailsum.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Sun Dec 11 08:26:27 1994 +0000
+++ b/lisp/mail/rmailsum.el	Sun Dec 11 09:16:23 1994 +0000
@@ -849,7 +849,9 @@
     (if message-not-found
 	(overlay-put rmail-summary-overlay 'face nil)
       (move-overlay rmail-summary-overlay
-		    (save-excursion (beginning-of-line) (1+ (point)))
+		    (save-excursion (beginning-of-line)
+				    (skip-chars-forward " ")
+				    (point))
 		    (save-excursion (end-of-line) (point)))
       (overlay-put rmail-summary-overlay 'face 'highlight))
     (beginning-of-line)