Show More
@@ -147,7 +147,8 b' If PATCH is nil, push at most one patch.' | |||
|
147 | 147 | (if patch (list patch)))) |
|
148 | 148 | last-line (mq-last-line)) |
|
149 | 149 | (let ((lines (count-lines (point-min) (point-max)))) |
|
150 | (if (and (equal lines 2) (string-match "Now at:" last-line)) | |
|
150 | (if (or (<= lines 1) | |
|
151 | (and (equal lines 2) (string-match "Now at:" last-line))) | |
|
151 | 152 | (progn |
|
152 | 153 | (kill-buffer (current-buffer)) |
|
153 | 154 | (delete-window)) |
General Comments 0
You need to be logged in to leave comments.
Login now