]> Cypherpunks repositories - gostls13.git/commitdiff
Use remove-text-properties instead of
authorAustin Clements <aclements@csail.mit.edu>
Wed, 6 Jan 2010 23:45:43 +0000 (15:45 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 6 Jan 2010 23:45:43 +0000 (15:45 -0800)
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

index f2dab59eb823e057aac083f07f3cff6c19b4dbdb..8d103d05feadc2d63ba5c059d2f250fd9ce7018d 100644 (file)
@@ -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