Small fix for invisible timestamps
* lisp/erc/erc-stamp.el (erc-format-timestamp): Don't apply intangible property to invisible stamps. Fixes: debbugs:11706
This commit is contained in:
parent
87a95afe81
commit
1bac999506
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
""))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue