diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/tar-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 722a86fda7d..aa55d066958 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Jamie Zawinski <jwz@lucid.com> | 5 | ;; Author: Jamie Zawinski <jwz@lucid.com> |
| 6 | ;; Created: 04 Apr 1990 | 6 | ;; Created: 04 Apr 1990 |
| 7 | ;; Version: 1.21bis (some cleanup by ESR) | ||
| 8 | ;; Keywords: unix | 7 | ;; Keywords: unix |
| 9 | 8 | ||
| 10 | ;;; This file is part of GNU Emacs. | 9 | ;;; This file is part of GNU Emacs. |
| @@ -889,10 +888,11 @@ for this to be permanent." | |||
| 889 | 888 | ||
| 890 | (defun tar-clear-modification-flags () | 889 | (defun tar-clear-modification-flags () |
| 891 | "Remove the stars at the beginning of each line." | 890 | "Remove the stars at the beginning of each line." |
| 891 | (interactive) | ||
| 892 | (save-excursion | 892 | (save-excursion |
| 893 | (goto-char 0) | 893 | (goto-char 1) |
| 894 | (while (< (point) tar-header-offset) | 894 | (while (< (point) tar-header-offset) |
| 895 | (if (looking-at "*") | 895 | (if (not (eq (following-char) ?\ )) |
| 896 | (progn (delete-char 1) (insert " "))) | 896 | (progn (delete-char 1) (insert " "))) |
| 897 | (forward-line 1)))) | 897 | (forward-line 1)))) |
| 898 | 898 | ||