[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9932342 2/2: Use quit-buffer instead of semantic-sy
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 9932342 2/2: Use quit-buffer instead of semantic-symref-hide-buffer |
Date: |
Sun, 15 Apr 2018 17:45:30 -0400 (EDT) |
branch: master
commit 99323422a528d93f6b1d842a71c9bb772001c45d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Use quit-buffer instead of semantic-symref-hide-buffer
* lisp/cedet/semantic/symref/list.el
(semantic-symref-hide-buffer): Removed (bug#15857).
(semantic-symref-results-mode-map): Use quit-buffer instead.
---
lisp/cedet/semantic/symref/list.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lisp/cedet/semantic/symref/list.el
b/lisp/cedet/semantic/symref/list.el
index 1be2b0e..31487d0 100644
--- a/lisp/cedet/semantic/symref/list.el
+++ b/lisp/cedet/semantic/symref/list.el
@@ -114,7 +114,7 @@ Display the references in `semantic-symref-results-mode'."
(define-key km "+" 'semantic-symref-list-toggle-showing)
(define-key km "n" 'semantic-symref-list-next-line)
(define-key km "p" 'semantic-symref-list-prev-line)
- (define-key km "q" 'semantic-symref-hide-buffer)
+ (define-key km "q" 'quit-buffer)
(define-key km "\C-c\C-e" 'semantic-symref-list-expand-all)
(define-key km "\C-c\C-r" 'semantic-symref-list-contract-all)
(define-key km "R" 'semantic-symref-list-rename-open-hits)
@@ -193,11 +193,6 @@ Display the references in `semantic-symref-results-mode'."
(set (make-local-variable 'font-lock-global-modes) nil)
(font-lock-mode -1))
-(defun semantic-symref-hide-buffer ()
- "Hide buffer with semantic-symref results."
- (interactive)
- (bury-buffer))
-
(defcustom semantic-symref-results-summary-function
'semantic-format-tag-prototype
"Function to use when creating items in Imenu.
Some useful functions are found in `semantic-format-tag-functions'."