[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/highlight-parentheses 5aa800a 26/49: Release version 1.1.0
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/highlight-parentheses 5aa800a 26/49: Release version 1.1.0 |
Date: |
Sun, 15 Aug 2021 03:57:46 -0400 (EDT) |
branch: elpa/highlight-parentheses
commit 5aa800a68e3795716de1e7f2722e836781190f31
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Release version 1.1.0
Remove change log which is out of date anyway. Add me as Maintainer. Add
github URL.
Use delete-overlay for overlays that aren't used right now instead of making
them zero-size.
Use 'font-lock-face property instead of 'face.
---
highlight-parentheses.el | 30 ++++++------------------------
1 file changed, 6 insertions(+), 24 deletions(-)
diff --git a/highlight-parentheses.el b/highlight-parentheses.el
index d1750e4..794af23 100644
--- a/highlight-parentheses.el
+++ b/highlight-parentheses.el
@@ -3,9 +3,11 @@
;; Copyright (C) 2007, 2009, 2013 Nikolaj Schumacher
;;
;; Author: Nikolaj Schumacher <bugs * nschum de>
-;; Version: 1.0.2
+;; Maintainer: Tassilo Horn <tsdh@gnu.org>
+;; Version: 1.1.0
;; Keywords: faces, matching
-;; URL: http://nschum.de/src/emacs/highlight-parentheses/
+;; URL: https://github.com/tsdh/highlight-parentheses.el
+;; http://nschum.de/src/emacs/highlight-parentheses/ (old website)
;; Compatibility: GNU Emacs 22.x, GNU Emacs 23.x, GNU Emacs 24.x
;;
;; This file is NOT part of GNU Emacs.
@@ -31,25 +33,6 @@
;; Enable the mode using M-x highlight-parentheses-mode or by adding it to a
;; hook.
;;
-;;; Change Log:
-;;
-;; Protect against double initialization (if used in `c-mode-hook').
-;;
-;; 2013-03-22 (1.0.2)
-;; Fixed bug causing last color not to be displayed.
-;;
-;; 2009-03-19 (1.0.1)
-;; Added setter for color variables.
-;;
-;; 2007-07-30 (1.0)
-;; Added background highlighting and faces.
-;;
-;; 2007-05-15 (0.9.1)
-;; Support for defcustom.
-;;
-;; 2007-04-26 (0.9)
-;; Initial Release.
-;;
;;; Code:
(eval-when-compile (require 'cl))
@@ -116,8 +99,7 @@ This is used to prevent analyzing the same context over and
over.")
(move-overlay (pop overlays) (1- pos2) pos2)))
(error nil))
(goto-char pos))
- (dolist (ov overlays)
- (move-overlay ov 1 1)))))
+ (mapc #'delete-overlay overlays))))
(defcustom hl-paren-delay 0.137
"Fraction of seconds after which the `hl-paren-overlays' are adjusted.
@@ -167,7 +149,7 @@ overlays when scrolling or moving point by pressing and
holding
(pop bg)
(dotimes (i 2) ;; front and back
(push (make-overlay 0 0 nil t) hl-paren-overlays)
- (overlay-put (car hl-paren-overlays) 'face attributes)))
+ (overlay-put (car hl-paren-overlays) 'font-lock-face attributes)))
(setq hl-paren-overlays (nreverse hl-paren-overlays))))
(defun hl-paren-color-update ()
- [nongnu] elpa/highlight-parentheses 02cb984 11/49: Clean up doc strings., (continued)
- [nongnu] elpa/highlight-parentheses 02cb984 11/49: Clean up doc strings., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 22ec446 12/49: (Finally) Bump version to 1.0.2., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 4d1a1cb 06/49: Bumped version to 1.0.1., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 315a901 09/49: Add dir-locals file with code style settings., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 22719ca 10/49: Add Emacs 24 to compatibility list., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 7b4ba71 19/49: Add autoload marker for global mode., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses f3d9dcc 16/49: Update copyright year., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses f918444 18/49: Fix elisp-lint download URL., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses f3b1acc 20/49: Merge #5., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses cccdfe0 28/49: Delete overlays in before-revert-hook and change-major-mode-hook, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 5aa800a 26/49: Release version 1.1.0,
ELPA Syncer <=
- [nongnu] elpa/highlight-parentheses 52a8d36 33/49: Added other brackets, so it works with other languages., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses a5eace2 32/49: Added option for highlighting adjacent parens., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 891538d 48/49: Squash emacs 28 define-minor-mode warning; release 2.0.3, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses fdabfda 47/49: Remove cl-lib dependency since it's included in Emacs 24.3 anyhow; release 2.0.2, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 9a99a4b 42/49: Fix custom type error of highlight-parentheses-attributes, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 3b4d2c6 46/49: Add .elpaignore, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses bef1bc2 14/49: Add configuration for travis-ci., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses e653594 15/49: Add README with travis build state., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses d421e15 17/49: Add globalized highlight-parentheses-mode, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 8869fba 21/49: Fix slowdown by moving overlays less often., ELPA Syncer, 2021/08/15