diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2017-01-25 20:57:52 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2017-01-25 20:57:52 +0100 |
commit | e0e95199b93a232e5d4da67823364676ca9cb67c (patch) | |
tree | 88547e2386c37b5edaf210fb5d683d51e3fbd89d /lisp/gnus/gnus-salt.el | |
parent | 36cbe217c818000d90fea132f0c8041f06748502 (diff) | |
download | emacs-e0e95199b93a232e5d4da67823364676ca9cb67c.tar.gz |
Fix the %P (line number) thing in Gnus summary buffers
* lisp/gnus/gnus-salt.el (gnus-pick-line-number): Remove hack.
* lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Reset the
"pick" mode line number on entry instead of relying in a hack (bug#18311).
Diffstat (limited to 'lisp/gnus/gnus-salt.el')
-rw-r--r-- | lisp/gnus/gnus-salt.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el index 5361c2b86fc..7037328b7a4 100644 --- a/lisp/gnus/gnus-salt.el +++ b/lisp/gnus/gnus-salt.el @@ -131,9 +131,7 @@ It accepts the same format specs that `gnus-summary-line-format' does." (defvar gnus-pick-line-number 1) (defun gnus-pick-line-number () "Return the current line number." - (if (bobp) - (setq gnus-pick-line-number 1) - (incf gnus-pick-line-number))) + (incf gnus-pick-line-number)) (defun gnus-pick-start-reading (&optional catch-up) "Start reading the picked articles. |