fix(emacs): make grade-start
receive argument interactively
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
a5632b9dc4
commit
53dd2e3f59
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@
|
|||
(keymap-global-set "C-c f" #'grade-next)
|
||||
(keymap-global-set "C-c b" #'grade-prev)
|
||||
|
||||
(let* ((start (or start 1))
|
||||
(let* ((start (or start
|
||||
(string-to-number (read-string "File number to start with: "))))
|
||||
(dir (if (eq major-mode 'dired-mode)
|
||||
(dired-current-directory)
|
||||
(error "Must be in Dired directory")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue