diff options
| author | Eli Zaretskii | 2017-04-12 23:14:20 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-04-12 23:14:20 +0300 |
| commit | 2e4f4c9d48c563ff8bec102b66da0225587786c6 (patch) | |
| tree | 3ec1bfed5adc0466fcc904a07cc9cd7c8c6bb60e /lisp/term | |
| parent | c25005eda1c5ad8dabb3ce815658bd3c637ae686 (diff) | |
| download | emacs-2e4f4c9d48c563ff8bec102b66da0225587786c6.tar.gz emacs-2e4f4c9d48c563ff8bec102b66da0225587786c6.zip | |
Don't call 'kill-this-buffer' outside of menus
* lisp/simple.el (kill-current-buffer): New function.
(completion-list-mode-map): Use it instead of kill-this-buffer.
* lisp/type-break.el (type-break-mode):
* lisp/term/ns-win.el (global-map):
* lisp/progmodes/gdb-mi.el (gdb-memory-mode-map)
(gdb-disassembly-mode-map, gdb-frames-mode-map)
(gdb-locals-mode-map, gdb-registers-mode-map):
* lisp/org/org-mhe.el (org-mhe-follow-link):
* lisp/net/secrets.el (secrets-mode-map):
* lisp/net/eudc.el (eudc-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map): Use
kill-current-buffer instead of kill-this-buffer. (Bug#26466)
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/ns-win.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index caad5155fbc..70bd817d930 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -109,7 +109,7 @@ The properties returned may include `top', `left', `height', and `width'." | |||
| 109 | (define-key global-map [?\s-:] 'ispell) | 109 | (define-key global-map [?\s-:] 'ispell) |
| 110 | (define-key global-map [?\s-?] 'info) | 110 | (define-key global-map [?\s-?] 'info) |
| 111 | (define-key global-map [?\s-^] 'kill-some-buffers) | 111 | (define-key global-map [?\s-^] 'kill-some-buffers) |
| 112 | (define-key global-map [?\s-&] 'kill-this-buffer) | 112 | (define-key global-map [?\s-&] 'kill-current-buffer) |
| 113 | (define-key global-map [?\s-C] 'ns-popup-color-panel) | 113 | (define-key global-map [?\s-C] 'ns-popup-color-panel) |
| 114 | (define-key global-map [?\s-D] 'dired) | 114 | (define-key global-map [?\s-D] 'dired) |
| 115 | (define-key global-map [?\s-E] 'edit-abbrevs) | 115 | (define-key global-map [?\s-E] 'edit-abbrevs) |
| @@ -125,7 +125,7 @@ The properties returned may include `top', `left', `height', and `width'." | |||
| 125 | (define-key global-map [?\s-h] 'ns-do-hide-emacs) | 125 | (define-key global-map [?\s-h] 'ns-do-hide-emacs) |
| 126 | (define-key global-map [?\s-H] 'ns-do-hide-others) | 126 | (define-key global-map [?\s-H] 'ns-do-hide-others) |
| 127 | (define-key global-map [?\s-j] 'exchange-point-and-mark) | 127 | (define-key global-map [?\s-j] 'exchange-point-and-mark) |
| 128 | (define-key global-map [?\s-k] 'kill-this-buffer) | 128 | (define-key global-map [?\s-k] 'kill-current-buffer) |
| 129 | (define-key global-map [?\s-l] 'goto-line) | 129 | (define-key global-map [?\s-l] 'goto-line) |
| 130 | (define-key global-map [?\s-m] 'iconify-frame) | 130 | (define-key global-map [?\s-m] 'iconify-frame) |
| 131 | (define-key global-map [?\s-n] 'make-frame) | 131 | (define-key global-map [?\s-n] 'make-frame) |