summaryrefslogtreecommitdiff
path: root/helm-eval.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-05-11 07:39:30 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-05-11 07:39:30 +0200
commit81e3b4fbdbea188315265fcf8e7e9d24dfe11fdc (patch)
treee593809be873eade257fcaf14a0826af1aa5de04 /helm-eval.el
parentfa00deef20eaa1b5cf95e777dacc8bae9a9e33e5 (diff)
Fix limit of looking-back to 1 before point.
* helm-elisp.el: Do it. * helm-eshell.el: Do it. * helm-eval.el: Do it.
Diffstat (limited to 'helm-eval.el')
-rw-r--r--helm-eval.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-eval.el b/helm-eval.el
index 183c570b..1c61107c 100644
--- a/helm-eval.el
+++ b/helm-eval.el
@@ -118,7 +118,7 @@ Should take one arg: the string to display."
(when (member buf helm-eldoc-active-minibuffers-list)
(with-current-buffer buf
(let* ((sym (save-excursion
- (unless (looking-back ")\\|\"" 1)
+ (unless (looking-back ")\\|\"" (1- (point)))
(forward-char -1))
(eldoc-current-symbol)))
(info-fn (eldoc-fnsym-in-current-sexp))