fix(emacs): add boundary handling for grade-next
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
aaef389ed1
commit
8d46c1184d
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@
|
|||
(target-number-str (format "%02d" target-number))
|
||||
(target-filename (format "%s.rkt" target-number-str))
|
||||
(target-filepath (concat target-directory target-filename)))
|
||||
(find-file target-filepath)))))
|
||||
(if (file-exists-p target-filepath)
|
||||
(find-file target-filepath)
|
||||
(message (format "next grading file doesn't exist!")))))))
|
||||
|
||||
(defun start-grading ()
|
||||
"Start grading."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue