diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-13 06:14:17 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-13 06:14:17 +0200 |
commit | 84c73ba09921f0918d98a5f5784d35d2db9a7577 (patch) | |
tree | 58dafc4161cfc80b6ed662320a3f1618ccbbf679 /lisp/paren.el | |
parent | 11dde529083c0b3df2e8e91913426ed4975b77c3 (diff) | |
download | emacs-84c73ba09921f0918d98a5f5784d35d2db9a7577.tar.gz |
Make blink-matching-paren perform blinking without moving the cursor
* lisp/faces.el (paren-showing-faces, show-paren-match)
(show-paren-mismatch): Move from paren.el.
* lisp/simple.el (blink-matching--overlay): New variable.
(blink-matching-open): Instead of moving point, highlight the
matching paren with an overlay
(http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
Diffstat (limited to 'lisp/paren.el')
-rw-r--r-- | lisp/paren.el | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lisp/paren.el b/lisp/paren.el index 6f386573b01..5db5878ccf5 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -72,30 +72,8 @@ active, you must toggle the mode off and on again for this to take effect." :group 'paren-showing :version "20.3") -(defgroup paren-showing-faces nil - "Group for faces of Show Paren mode." - :group 'paren-showing - :group 'faces - :version "22.1") - -(defface show-paren-match - '((((class color) (background light)) - :background "turquoise") ; looks OK on tty (becomes cyan) - (((class color) (background dark)) - :background "steelblue3") ; looks OK on tty (becomes blue) - (((background dark)) - :background "grey50") - (t - :background "gray")) - "Show Paren mode face used for a matching paren." - :group 'paren-showing-faces) (define-obsolete-face-alias 'show-paren-match-face 'show-paren-match "22.1") -(defface show-paren-mismatch - '((((class color)) (:foreground "white" :background "purple")) - (t (:inverse-video t))) - "Show Paren mode face used for a mismatching paren." - :group 'paren-showing-faces) (define-obsolete-face-alias 'show-paren-mismatch-face 'show-paren-mismatch "22.1") |