Skip to content

Commit

Permalink
checkdoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codesensei-courses committed Aug 17, 2024
1 parent 68699fd commit 2b5b7fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions password-store-menu.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(defcustom password-store-menu-key "C-c p"
"Key to bind to the `password-store-menu' command.
This is used by the password-store-menu-enable command."
This is used by the `password-store-menu-enable' command."
:group 'password-store
:type 'key)

Expand Down Expand Up @@ -243,7 +243,9 @@ Default PASSWORD-LENGTH is `password-store-password-length'."
(apply #'password-store--run-async `("generate" ,@args ,entry ,length))))

(defun password-store-menu--read-length (prompt initial-input history)
"Read a number for the password length, or return default if input empty."
"Read a number for the password length, or return default if input empty.
Arguments PROMPT, INITIAL-INPUT and HISTORY are passed to transient--read-number."
(let ((input (transient--read-number-N prompt initial-input history nil)))
(if (string-equal input "")
(int-to-string password-store-password-length)
Expand Down Expand Up @@ -303,7 +305,7 @@ Default PASSWORD-LENGTH is `password-store-password-length'."
[("!" "Clear secret from kill ring" password-store-clear)])

(defun password-store-menu-enable ()
"Run this to setup `auto-mode-alist' and keybinding for password-store-menu."
"Run this to setup `auto-mode-alist' and keybinding for `password-store-menu'."
(interactive)
(add-to-list 'auto-mode-alist (cons epa-file-name-regexp 'password-store-menu--maybe-edit-mode))
(define-key global-map (kbd password-store-menu-key) #'password-store-menu))
Expand Down

0 comments on commit 2b5b7fb

Please sign in to comment.