Hello Eric,

I got an error when I tried your patch (the new semantic-make-overlay
alias is missing some make-overlay arguments and overlay-put does not
return the overlay but the property value).  I submit you the attached
patch to semantic.el (1.3.2) which solved the overlay problem on my NT
Emacs 20.7.

Any feedback will be welcome.

Sincerely,
David

*** semantic.el.ori     Sat Nov 18 15:18:38 2000
--- semantic.el Mon Feb 12 16:22:54 2001
***************
*** 244,250 ****
        (defalias 'semantic-overlay-p 'extentp)
        )
    (defalias 'semantic-overlay-live-p 'overlay-buffer)
!   (defalias 'semantic-make-overlay 'make-overlay)
    (defalias 'semantic-overlay-put 'overlay-put)
    (defalias 'semantic-overlay-get 'overlay-get)
    (defalias 'semantic-overlay-delete 'delete-overlay)
--- 244,257 ----
        (defalias 'semantic-overlay-p 'extentp)
        )
    (defalias 'semantic-overlay-live-p 'overlay-buffer)
!   (if (> emacs-major-version 20)
!       (defalias 'semantic-make-overlay 'make-overlay)
!     (make-empty-face 'semantic-empty-face)
!     (defalias 'semantic-make-overlay
!       (lambda (beg end &optional buffer front-advance rear-advance)
!         (let ((o (make-overlay beg end buffer front-advance rear-advance)))
!         (overlay-put o 'face 'semantic-empty-face)
!         o))))
    (defalias 'semantic-overlay-put 'overlay-put)
    (defalias 'semantic-overlay-get 'overlay-get)
    (defalias 'semantic-overlay-delete 'delete-overlay)

Reply via email to