1
0
Fork 0

fix(emacs): add boundary handling for grade-next

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-25 00:09:04 -05:00
parent aaef389ed1
commit 8d46c1184d
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -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."