Use push instead of setq.

This commit is contained in:
tastytea 2020-03-02 10:15:37 +01:00
parent 4ee34787e6
commit e05ce6bada
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ current buffer."
(when (markerp (cdr item))
(if register-quicknav-buffer-only
(when (eq (current-buffer) (marker-buffer (cdr item)))
(setq result (cons item result)))
(setq result (cons item result)))))
(push item result))
(push item result))))
(sort result sort-fn)))
;;;###autoload