From: Austin Clements Date: Wed, 6 Jan 2010 23:45:43 +0000 (-0800) Subject: Use remove-text-properties instead of X-Git-Tag: weekly.2010-01-13~65 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=367ae9a54190f0704d95b519ad25f6654b5818d3;p=gostls13.git 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 --- diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index f2dab59eb8..8d103d05fe 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