# HG changeset patch # User Stefan Monnier # Date 1052862188 0 # Node ID a122df88ba3f8d1e447ecdde24210bccbbf6bd83 # Parent 1004156b8057c6ce22c60720f09e5cd42911815f (cpp-make-overlay-hidden): Don't make intangible. diff -r 1004156b8057 -r a122df88ba3f lisp/progmodes/cpp.el --- a/lisp/progmodes/cpp.el Tue May 13 21:37:28 2003 +0000 +++ b/lisp/progmodes/cpp.el Tue May 13 21:43:08 2003 +0000 @@ -1,6 +1,6 @@ ;;; cpp.el --- highlight or hide text according to cpp conditionals -;; Copyright (C) 1994, 1995 Free Software Foundation +;; Copyright (C) 1994, 1995, 2003 Free Software Foundation ;; Author: Per Abrahamsen ;; Keywords: c, faces, tools @@ -379,9 +379,6 @@ (defun cpp-make-overlay-hidden (overlay) ;; Make overlay hidden and intangible. (overlay-put overlay 'invisible 'cpp) - (overlay-put overlay 'intangible t) - ;; Unfortunately `intangible' is not implemented for overlays yet, - ;; so we make is read-only instead. (overlay-put overlay 'modification-hooks '(cpp-signal-read-only)) (overlay-put overlay 'insert-in-front-hooks '(cpp-signal-read-only)))