> (defun check-if-jde-not-java ()
>   (interactive)
>   (if (string-match "java" (buffer-name)) 1
> (semantic-show-unmatched-syntax-mode)))

If given no arg, semantic-show-unmatched-syntax-mode toggles.  You can say
(semantic-show-unmatched-syntax-mode -1) [-1 a number less than 0] to turn
it off.

Kai

Reply via email to