summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/emacs/go-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el
index f2dab59eb..8d103d05f 100644
--- a/misc/emacs/go-mode.el
+++ b/misc/emacs/go-mode.el
@@ -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