Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix problems with coreen.el #15

Open
wants to merge 1 commit into from

1 participant

Michael Ernst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/main/elisp/coreen.el
7 src/main/elisp/coreen.el
View
@@ -132,8 +132,11 @@ queried symbol. These matches can be navigated using
(message "End of matches (wrapped).")
(goto-char 0))))
;; now process the result on the current line
- (let ((toks (split-string (thing-at-point 'line))))
- (cond ((string= (car toks) "nomatch")
+ (let* ((result (thing-at-point 'line))
+ (toks (split-string result)))
+ (cond ((string= result "")
+ (message "No response from Coreen. Is Coreen running?"))
+ ((string= (car toks) "nomatch")
(message "Could not locate symbol: %s" coreen-searched-sym))
((string= (car toks) "match")
(ring-insert coreen-marker-ring savepoint) ;; record whence we came
Something went wrong with that request. Please try again.