diff options
| author | Lars Ingebrigtsen | 2021-03-08 20:37:31 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-03-08 20:37:40 +0100 |
| commit | 612095220d158a7e8d1d1fb74b264b375ceee508 (patch) | |
| tree | 1e60b67f01099222d0658ebd19190654ba375db4 | |
| parent | 9b86a6add8f559dace7a881bd7d8f0652c2a5278 (diff) | |
| download | emacs-612095220d158a7e8d1d1fb74b264b375ceee508.tar.gz emacs-612095220d158a7e8d1d1fb74b264b375ceee508.zip | |
Make semantic/idle not move point after last change
* lisp/cedet/semantic/idle.el (semantic--eldoc-info): Don't move
point (bug#46999).
| -rw-r--r-- | lisp/cedet/semantic/idle.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el index 0f997474ded..2b6d11f4580 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 | |||
| 734 | current tag to display information." | 734 | current tag to display information." |
| 735 | (or (eq major-mode 'emacs-lisp-mode) | 735 | (or (eq major-mode 'emacs-lisp-mode) |
| 736 | (not (semantic-idle-summary-useful-context-p)) | 736 | (not (semantic-idle-summary-useful-context-p)) |
| 737 | (let* ((found (semantic-idle-summary-current-symbol-info)) | 737 | (let* ((found (save-excursion |
| 738 | (semantic-idle-summary-current-symbol-info))) | ||
| 738 | (str (cond ((stringp found) found) | 739 | (str (cond ((stringp found) found) |
| 739 | ((semantic-tag-p found) | 740 | ((semantic-tag-p found) |
| 740 | (funcall semantic-idle-summary-function | 741 | (funcall semantic-idle-summary-function |