mirror of
https://github.com/golang/go
synced 2024-11-21 18:44:45 -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
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user