summaryrefslogtreecommitdiff
path: root/elisp/geiser-guile.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2015-09-30 02:40:20 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2015-09-30 02:40:20 +0200
commit6cef62b80fb292eaa90548689eaa3ce85e110ac4 (patch)
tree3e784f10eb7aade1a96ae403f6bf666f3327c78f /elisp/geiser-guile.el
parent3bf45a47e9e38319dedac1a59d27b473fe1dde81 (diff)
downloadgeiser-guile-6cef62b80fb292eaa90548689eaa3ce85e110ac4.tar.gz
geiser-guile-6cef62b80fb292eaa90548689eaa3ce85e110ac4.tar.bz2
Follow suit and complete quoted symbols in all schemes
I kind of dislike completion on symbols, because a quote reads to me as 'stop evaluating', and a symbol per se has infinite possible conversions. But, on the other hand, not completing has no practical advantage, and, moreover, we're already completing symbols inside quoted lists (e.g. try M-TAB next to `'(defi`)), so my prejudices are not even consistent. So here we go!
Diffstat (limited to 'elisp/geiser-guile.el')
-rw-r--r--elisp/geiser-guile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index f942930..699ed9a 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -1,6 +1,6 @@
;; geiser-guile.el -- guile's implementation of the geiser protocols
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -204,7 +204,7 @@ This function uses `geiser-guile-init-file' if it exists."
(if module
(max (save-excursion (beginning-of-line) (point))
(save-excursion (skip-syntax-backward "^(>") (1- (point))))
- (save-excursion (skip-syntax-backward "^-()>") (point))))
+ (save-excursion (skip-syntax-backward "^'-()>") (point))))
;;; Error display