summaryrefslogtreecommitdiff
path: root/elisp/geiser-racket.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2014-05-31 20:54:22 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-05-31 20:57:37 +0200
commit9ff03facb2ea1e0a6b320f603dfd7e0e787d9593 (patch)
tree41ec3f148b32692ecf0604c92749dc505fb68a9e /elisp/geiser-racket.el
parent30c3c30774fc16e5ec342bc5eeca21c277a56107 (diff)
downloadgeiser-guile-9ff03facb2ea1e0a6b320f603dfd7e0e787d9593.tar.gz
geiser-guile-9ff03facb2ea1e0a6b320f603dfd7e0e787d9593.tar.bz2
Finer control of debugging window popups
It's now possible to control whether we jump to the debug window on evaluation errors (geiser-debug-jump-to-debug-p) and whether we show it all (geiser-debug-show-debug-p).
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r--elisp/geiser-racket.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index 4c1b127..f2cec3a 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -251,10 +251,10 @@ using start-geiser, a procedure in the geiser/server module."
(mapc 'geiser-edit--buttonize-files geiser-racket--file-rxs)
(goto-char end)
(newline))))
- (or key (not (zerop (length msg)))))
+ (if (and msg (string-match "\\(.+\\)$" msg)) (match-string 1 msg) key))
-;;; Trying to ascertain whether a buffer is mzscheme scheme:
+;;; Trying to ascertain whether a buffer is racket code:
(defun geiser-racket--guess ()
(or (save-excursion
@@ -275,7 +275,8 @@ using start-geiser, a procedure in the geiser/server module."
(defun geiser-racket--keywords ()
(append geiser-racket-font-lock-forms
(when geiser-racket-extra-keywords
- `((,(format "[[(]%s\\>" (regexp-opt geiser-racket-extra-keywords 1))
+ `((,(format "[[(]%s\\>"
+ (regexp-opt geiser-racket-extra-keywords 1))
. 1)))))
(geiser-syntax--scheme-indent