diff options
| author | Oleh Krehel | 2015-04-01 08:58:48 +0200 |
|---|---|---|
| committer | Oleh Krehel | 2015-04-01 08:58:48 +0200 |
| commit | 193183e28125b9aba51ea3676b899e72de33b54d (patch) | |
| tree | b962c0e15ca618985d66209fb8dfab8e89bc22c3 | |
| parent | 6da5ca1f59a90adbb37dbaf9e52eb5d434cfe455 (diff) | |
| download | emacs-scratch/highlight-n-windows.tar.gz emacs-scratch/highlight-n-windows.zip | |
Check for mark-active t in `redisplay--update-region-highlights'scratch/highlight-n-windows
* lisp/simple.el (redisplay--update-region-highlights): Revert to old
behavior when mark-active is t.
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 0b33a51b41c..dbb84633db8 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4958,8 +4958,9 @@ also checks the value of `use-empty-active-region'." | |||
| 4958 | (mapc #'redisplay--update-region-highlight | 4958 | (mapc #'redisplay--update-region-highlight |
| 4959 | (delq nil | 4959 | (delq nil |
| 4960 | (mapcar (lambda (w) | 4960 | (mapcar (lambda (w) |
| 4961 | (and (eq w mark-active) | 4961 | (when (or (eq mark-active t) |
| 4962 | w)) | 4962 | (eq mark-active w)) |
| 4963 | w)) | ||
| 4963 | windows))) | 4964 | windows))) |
| 4964 | (let ((msw (and (window-minibuffer-p) (minibuffer-selected-window)))) | 4965 | (let ((msw (and (window-minibuffer-p) (minibuffer-selected-window)))) |
| 4965 | (dolist (w windows) | 4966 | (dolist (w windows) |