diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-06-14 00:05:25 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-06-14 00:05:25 -0400 |
commit | 32ab80807923682b6cdaa897b0ee02c1defa86c5 (patch) | |
tree | 43abf5dbd11e6f3871ae3c33b0d4ef99e96567ed | |
parent | 75b1a8d0bae8d349936ab15a2dde833db3f2757f (diff) | |
download | bog-32ab80807923682b6cdaa897b0ee02c1defa86c5.tar.gz |
bog-select-citekey: Add citekey history list
-rw-r--r-- | bog.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -476,9 +476,12 @@ If NO-CONTEXT is non-nil, immediately fall back." bog-citekey-at-point bog-all-heading-citekeys) +(defvar bog-citekey-history nil) + (defun bog-select-citekey (citekeys) "Prompt for citekey from CITEKEYS." - (completing-read "Select citekey: " citekeys nil t)) + (completing-read "Select citekey: " citekeys + nil t nil 'bog-citekey-history)) ;;;; Other |