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:
parent
968d6a6d5a
commit
367ae9a541
@ -463,8 +463,8 @@ functions, and some types. It also provides indentation that is
|
|||||||
;; Remove stale text properties
|
;; Remove stale text properties
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(remove-list-of-text-properties 1 (+ (buffer-size) 1)
|
(remove-text-properties 1 (+ (buffer-size) 1)
|
||||||
'(go-mode-cs go-mode-nesting)))
|
'(go-mode-cs nil go-mode-nesting nil)))
|
||||||
|
|
||||||
;; Reset the syntax mark caches
|
;; Reset the syntax mark caches
|
||||||
(setq go-mode-mark-cs-end 1
|
(setq go-mode-mark-cs-end 1
|
||||||
|
Loading…
Reference in New Issue
Block a user