diff options
| -rw-r--r-- | lisp/simple.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index f2fb11feeb0..bc4bee00c02 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2264,11 +2264,11 @@ not end the comment. Blank lines do not get comments." | |||
| 2264 | ;; This is questionable if comment-end ends in | 2264 | ;; This is questionable if comment-end ends in |
| 2265 | ;; whitespace. That is pretty brain-damaged, | 2265 | ;; whitespace. That is pretty brain-damaged, |
| 2266 | ;; though. | 2266 | ;; though. |
| 2267 | (skip-chars-backward " \t") | 2267 | (while (progn (skip-chars-backward " \t") |
| 2268 | (if (and (>= (- (point) (point-min)) (length ce)) | 2268 | (and (>= (- (point) (point-min)) (length ce)) |
| 2269 | (save-excursion | 2269 | (save-excursion |
| 2270 | (backward-char (length ce)) | 2270 | (backward-char (length ce)) |
| 2271 | (looking-at (regexp-quote ce)))) | 2271 | (looking-at (regexp-quote ce))))) |
| 2272 | (delete-char (- (length ce))))) | 2272 | (delete-char (- (length ce))))) |
| 2273 | (let ((count numarg)) | 2273 | (let ((count numarg)) |
| 2274 | (while (> 1 (setq count (1+ count))) | 2274 | (while (> 1 (setq count (1+ count))) |