diff options
| author | Juri Linkov | 2010-03-31 18:02:53 +0300 |
|---|---|---|
| committer | Juri Linkov | 2010-03-31 18:02:53 +0300 |
| commit | 67189e62385af5b1e848d02528055958abbfe659 (patch) | |
| tree | 000e50a278a5447b7b93ad7a53f0795065d8bbf1 | |
| parent | 1546c55901a99229848a1381aac2e618f5d6c04a (diff) | |
| download | emacs-67189e62385af5b1e848d02528055958abbfe659.tar.gz emacs-67189e62385af5b1e848d02528055958abbfe659.zip | |
* simple.el (keyboard-escape-quit): Raise deselecting the active
region higher than exiting the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bdc40f44a2d..f7b3c7a1c2c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2010-03-31 Juri Linkov <juri@jurta.org> | 1 | 2010-03-31 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * simple.el (keyboard-escape-quit): Raise deselecting the active | ||
| 4 | region higher than exiting the minibuffer. | ||
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html | ||
| 6 | |||
| 7 | 2010-03-31 Juri Linkov <juri@jurta.org> | ||
| 8 | |||
| 3 | * image.el (image-animated-p): Use `image-metadata' instead of | 9 | * image.el (image-animated-p): Use `image-metadata' instead of |
| 4 | `image-extension-data'. Get GIF extenstion data from metadata | 10 | `image-extension-data'. Get GIF extenstion data from metadata |
| 5 | property `extension-data'. | 11 | property `extension-data'. |
diff --git a/lisp/simple.el b/lisp/simple.el index ea70e6cbd06..b126637904e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -5490,12 +5490,12 @@ cancel the use of the current buffer (for special-purpose buffers), | |||
| 5490 | or go back to just one window (by deleting all but the selected window)." | 5490 | or go back to just one window (by deleting all but the selected window)." |
| 5491 | (interactive) | 5491 | (interactive) |
| 5492 | (cond ((eq last-command 'mode-exited) nil) | 5492 | (cond ((eq last-command 'mode-exited) nil) |
| 5493 | ((region-active-p) | ||
| 5494 | (deactivate-mark)) | ||
| 5493 | ((> (minibuffer-depth) 0) | 5495 | ((> (minibuffer-depth) 0) |
| 5494 | (abort-recursive-edit)) | 5496 | (abort-recursive-edit)) |
| 5495 | (current-prefix-arg | 5497 | (current-prefix-arg |
| 5496 | nil) | 5498 | nil) |
| 5497 | ((region-active-p) | ||
| 5498 | (deactivate-mark)) | ||
| 5499 | ((> (recursion-depth) 0) | 5499 | ((> (recursion-depth) 0) |
| 5500 | (exit-recursive-edit)) | 5500 | (exit-recursive-edit)) |
| 5501 | (buffer-quit-function | 5501 | (buffer-quit-function |