/[emacs]/emacs/lisp/progmodes/cpp.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/cpp.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by lektu, Tue May 6 17:41:48 2003 UTC revision 1.27 by monnier, Tue May 13 21:43:08 2003 UTC
# Line 1  Line 1 
1  ;;; cpp.el --- highlight or hide text according to cpp conditionals  ;;; cpp.el --- highlight or hide text according to cpp conditionals
2    
3  ;; Copyright (C) 1994, 1995 Free Software Foundation  ;; Copyright (C) 1994, 1995, 2003 Free Software Foundation
4    
5  ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>  ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
6  ;; Keywords: c, faces, tools  ;; Keywords: c, faces, tools
# Line 379  A prefix arg suppresses display of that Line 379  A prefix arg suppresses display of that
379  (defun cpp-make-overlay-hidden (overlay)  (defun cpp-make-overlay-hidden (overlay)
380    ;; Make overlay hidden and intangible.    ;; Make overlay hidden and intangible.
381    (overlay-put overlay 'invisible 'cpp)    (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.  
382    (overlay-put overlay 'modification-hooks '(cpp-signal-read-only))    (overlay-put overlay 'modification-hooks '(cpp-signal-read-only))
383    (overlay-put overlay 'insert-in-front-hooks '(cpp-signal-read-only)))    (overlay-put overlay 'insert-in-front-hooks '(cpp-signal-read-only)))
384    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26