Commit e10e314e authored by Sam Steingold's avatar Sam Steingold
Browse files

use view-mode on score file for ease of scrolling and quitting

parent c555d10d
Pipeline #1531 failed with stage
in 90 minutes and 1 second
......@@ -663,6 +663,7 @@ FILE is created there."
(revert-buffer nil t nil)
(display-buffer buf))
(find-file-read-only target))
(goto-char (point-min))
(search-forward (concat (int-to-string score)
" " (user-login-name) " "
......@@ -691,7 +692,8 @@ FILE is created there."
(forward-line gamegrid-score-file-length)
(delete-region (point) (point-max))
(setq buffer-read-only t)
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment