diff options
| author | Vasilij Schneidermann <mail@vasilij.de> | 2020-02-14 22:12:52 +0100 | 
|---|---|---|
| committer | Vasilij Schneidermann <mail@vasilij.de> | 2020-02-14 22:18:35 +0100 | 
| commit | dc6f6be4de0a74c7628cf5aba2072cc5f5e7a416 (patch) | |
| tree | 890d020c9d46547fa759604e0143faf196418d90 | |
| parent | 4f9ba13039491ef3e60deec963e0b3bd02088fed (diff) | |
Style
| -rw-r--r-- | nov.el | 8 | 
1 files changed, 4 insertions, 4 deletions
@@ -709,8 +709,8 @@ Saving is only done if `nov-save-place-file' is set."    (let ((history-forward           (cons (list nov-documents-index (point))                 nov-history-forward)) -        (index (nth 0 (car nov-history))) -        (opoint (nth 1 (car nov-history)))) +        (index (car (car nov-history))) +        (opoint (cadr (car nov-history))))      (setq nov-history (cdr nov-history))      (nov-goto-document index)      (setq nov-history (cdr nov-history)) @@ -723,8 +723,8 @@ Saving is only done if `nov-save-place-file' is set."    (or nov-history-forward        (user-error "This is the last document you looked at"))    (let ((history-forward (cdr nov-history-forward)) -        (index (nth 0 (car nov-history-forward))) -        (opoint (nth 1 (car nov-history-forward)))) +        (index (car (car nov-history-forward))) +        (opoint (cadr (car nov-history-forward))))      (nov-goto-document index)      (setq nov-history-forward history-forward)      (goto-char opoint)))  | 
