changeset 10765:638d2df80894

(Buffer-menu-save): Fix the test for header line.
author Richard M. Stallman <rms@gnu.org>
date Thu, 16 Feb 1995 05:58:37 +0000
parents a3e635f3501e
children 07eea2d610d3
files lisp/buff-menu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/buff-menu.el	Wed Feb 15 22:23:18 1995 +0000
+++ b/lisp/buff-menu.el	Thu Feb 16 05:58:37 1995 +0000
@@ -265,10 +265,10 @@
   "Mark buffer on this line to be saved by \\<Buffer-menu-mode-map>\\[Buffer-menu-execute] command."
   (interactive)
   (beginning-of-line)
-  (forward-char 1)
   (if (looking-at " [-M]")		;header lines
       (ding)
     (let ((buffer-read-only nil))
+      (forward-char 1)
       (delete-char 1)
       (insert ?S)
       (forward-line 1))))