changeset 50986:a122df88ba3f

(cpp-make-overlay-hidden): Don't make intangible.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 13 May 2003 21:43:08 +0000
parents 1004156b8057
children 2136c00d7221
files lisp/progmodes/cpp.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <abraham@dina.kvl.dk>
 ;; 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)))