Commit 367ae9a5 authored by Austin Clements's avatar Austin Clements Committed by Russ Cox

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
parent 968d6a6d
......@@ -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
......
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