Commit 1bac9995 authored by Antoine Levitt's avatar Antoine Levitt Committed by Glenn Morris

Small fix for invisible timestamps

* lisp/erc/erc-stamp.el (erc-format-timestamp):
Don't apply intangible property to invisible stamps.

Fixes: debbugs:11706
parent 87a95afe
2012-10-07 Antoine Levitt <antoine.levitt@gmail.com>
* erc-stamp.el (erc-format-timestamp): Don't apply intangible
property to invisible stamps. (Bug#11706)
2012-10-07 Glenn Morris <rgm@gnu.org>
* erc-backend.el (NICK): Handle pre-existing buffers. (Bug#12002)
......
......@@ -353,8 +353,9 @@ Return the empty string if FORMAT is nil."
'isearch-open-invisible 'timestamp ts)
;; N.B. Later use categories instead of this harmless, but
;; inelegant, hack. -- BPT
(when erc-timestamp-intangible
(erc-put-text-property 0 (length ts) 'intangible t ts))
(and erc-timestamp-intangible
(not erc-hide-timestamps) ; bug#11706
(erc-put-text-property 0 (length ts) 'intangible t ts))
ts)
""))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment