on master help sign in
Merge pull request #25 from replit/rr-elisp-improvements

Improvements for Emacs Lisp

commit49de13ecda3fd279dbeb6590cbd2b69a00de1f90 authorRadon Rosborough <radon.neon@gmail.com> dateMon 17 Jun 2019, 17:15 (7 years ago) parenta67121f2a9c0b9
1 file changed+6−6
prybar_assets/elisp/repl.el+6−6
prybar_assets/elisp/repl.el+6−6
@@ -48,13 +48,13 @@ expands to:
4848The REPL uses `ielm', which see. After version information is
4949printed and forms for immediate evaluation or execution are
5050handled, display the IELM buffer and return."
51+ ;; For some reason in the repl.it environment the text all gets
52+ ;; underlined sometimes. Redisplaying fixes this.
53+ (redisplay)
5154 (menu-bar-mode -1)
52− ;; Disable bold and underline, from
53− ;; <https://stackoverflow.com/a/2065305/3538165>.
54− (mapc
55− (lambda (face)
56− (set-face-attribute face nil :weight 'normal :underline nil))
57− (face-list))
55+ ;; Make it so you can `load' or `require' files from the project
56+ ;; directory.
57+ (add-to-list 'load-path default-directory)
5858 ;; IELM only supports PS1, not PS2.
5959 (with-prybar-config
6060 (eval exec (ps1 "--> ") quiet file)