Update comment.

This commit is contained in:
tastytea 2020-03-08 05:48:35 +01:00
parent 0a433edb0d
commit 046b1e897e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 2 deletions

View File

@ -167,8 +167,7 @@ Works on markers and file-queries."
(when (< register-pos (point))
(setq index (cl-position register register-list)))))))
;; If an index was found, set it to the next/previous register. If not, set
;; it to the first/last.
;; Check if index is valid, correct it if not, jump to register with index.
(if index
(progn
(when (or (> index (- (length register-list) 1)) (< index 0))