From 367ae9a54190f0704d95b519ad25f6654b5818d3 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 6 Jan 2010 15:45:43 -0800 Subject: [PATCH] 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 --- misc/emacs/go-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index f2dab59eb82..8d103d05fea 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