summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <aclements@csail.mit.edu>2010-01-06 15:45:43 -0800
committerAustin Clements <aclements@csail.mit.edu>2010-01-06 15:45:43 -0800
commitc593fac91b2db77d3f89bcdb0f13a66feb171643 (patch)
treef5e1ae3d5c70e1dda1fce002a4ef6356ace276b4
parent999e90e430e9ca88d00065e55a35b9f2b0bdc8d8 (diff)
downloadgolang-c593fac91b2db77d3f89bcdb0f13a66feb171643.tar.gz
Use remove-text-properties instead of
remove-list-of-test-properties, since the latter is missing from XEmacs. Fixes issue 462. R=rsc CC=golang-dev http://codereview.appspot.com/181152 Committer: Russ Cox <rsc@golang.org>
-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