Add buffer-local alist tip.

This commit is contained in:
tastytea 2020-02-19 19:00:30 +01:00
parent 87a0a21aa1
commit 9b9ba38c0f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,12 @@ Or, with use-package:
("C-<f6>" . register-quicknav/next-register)
("M-r" . register-quicknav/clear-current-register)))
## Tips
To only cycle through the registers of the current buffer, add
(make-variable-buffer-local 'register-alist)
to your init.el.
---
Converted from `register-quicknav.el` by [*el2markdown*](https://github.com/Lindydancer/el2markdown).

View File

@ -54,6 +54,12 @@
;; ("C-<f6>" . register-quicknav/next-register)
;; ("M-r" . register-quicknav/clear-current-register)))
;; Tips:
;;
;; To only cycle through the registers of the current buffer, add
;; (make-variable-buffer-local 'register-alist)
;; to your init.el.
;;; Code:
(defvar register-quicknav//current-position-register 0