1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:44:40 -07:00

Use remove-text-properties instead of

remove-list-of-test-properties, since the latter is missing
from XEmacs.

Fixes #462.

R=rsc
CC=golang-dev
https://golang.org/cl/181152
This commit is contained in:
Austin Clements 2010-01-06 15:45:43 -08:00 committed by Russ Cox
parent 968d6a6d5a
commit 367ae9a541

View File

@ -463,8 +463,8 @@ functions, and some types. It also provides indentation that is
;; Remove stale text properties
(save-restriction
(widen)
(remove-list-of-text-properties 1 (+ (buffer-size) 1)
'(go-mode-cs go-mode-nesting)))
(remove-text-properties 1 (+ (buffer-size) 1)
'(go-mode-cs nil go-mode-nesting nil)))
;; Reset the syntax mark caches
(setq go-mode-mark-cs-end 1