misc/emacs/go-mode.el | 2 +- diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index 6f5d97aa4961ef7247b0e7956f25f8a61b9dfd53..feba035ee50c91e4ef8f2274ba5f030972e4b091 100644 --- a/misc/emacs/go-mode.el +++ b/misc/emacs/go-mode.el @@ -436,7 +436,7 @@ ;; Remove stale text properties (save-restriction (widen) - (remove-list-of-text-properties 1 (buffer-size) + (remove-list-of-text-properties 1 (+ (buffer-size) 1) '(go-mode-cs go-mode-nesting))) ;; Reset the syntax mark caches