Skip to content

Commit

Permalink
fix: correct keymap function names (#19)
Browse files Browse the repository at this point in the history
Aligns keymap with function names, and changes "PDF" to "pdf".
  • Loading branch information
Yevgnen committed Mar 9, 2021
1 parent d09130c commit f25eb67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bibtex-actions.el
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
(define-key map (kbd "k") 'bibtex-actions-insert-key)
(define-key map (kbd "b") 'bibtex-actions-insert-bibtex)
(define-key map (kbd "a") 'bibtex-actions-add-pdf-attachment)
(define-key map (kbd "e") 'bibtex-actions-edit-notes)
(define-key map (kbd "s") 'bibtex-actions-show-entry)
(define-key map (kbd "e") 'bibtex-actions-open-notes)
(define-key map (kbd "s") 'bibtex-actions-open-entry)
(define-key map (kbd "l") 'bibtex-actions-add-pdf-to-library)
map)
"Keymap for 'bibtex-actions'.")
Expand Down Expand Up @@ -134,7 +134,7 @@ If multiple PDFs are found, ask for the one to open using
(interactive (list (bibtex-actions--read)))
(bibtex-completion-insert-bibtex (list keys)))

(defun bibtex-actions-add-PDF-attachment (keys)
(defun bibtex-actions-add-pdf-attachment (keys)
"Attach PDF(s) associated with the KEYS to email."
(interactive (list (bibtex-actions--read)))
(bibtex-completion-add-PDF-attachment (list keys)))
Expand Down

0 comments on commit f25eb67

Please sign in to comment.