[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6120952: Make semantic/idle not move point after last change
From: |
Lars Ingebrigtsen |
Subject: |
master 6120952: Make semantic/idle not move point after last change |
Date: |
Mon, 8 Mar 2021 14:37:47 -0500 (EST) |
branch: master
commit 612095220d158a7e8d1d1fb74b264b375ceee508
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make semantic/idle not move point after last change
* lisp/cedet/semantic/idle.el (semantic--eldoc-info): Don't move
point (bug#46999).
---
lisp/cedet/semantic/idle.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index 0f99747..2b6d11f 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -734,7 +734,8 @@ Call `semantic-idle-summary-current-symbol-info' for
getting the
current tag to display information."
(or (eq major-mode 'emacs-lisp-mode)
(not (semantic-idle-summary-useful-context-p))
- (let* ((found (semantic-idle-summary-current-symbol-info))
+ (let* ((found (save-excursion
+ (semantic-idle-summary-current-symbol-info)))
(str (cond ((stringp found) found)
((semantic-tag-p found)
(funcall semantic-idle-summary-function
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6120952: Make semantic/idle not move point after last change,
Lars Ingebrigtsen <=