Mercurial > emacs
diff lisp/cedet/semantic/util-modes.el @ 106197:019d906c8f48
* cedet/srecode/map.el (srecode-get-maps):
* cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
* cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
* cedet/semantic/decorate/mode.el (semantic-decoration-mode)
(semantic-toggle-decoration-style):
* cedet/semantic/decorate/include.el
(semantic-decoration-include-describe)
(semantic-decoration-unknown-include-describe)
(semantic-decoration-unparsed-include-describe)
(semantic-decoration-all-include-summary):
* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
* cedet/semantic/analyze/complete.el
(semantic-analyze-possible-completions):
* cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-unmatched-syntax-mode)
(semantic-show-parser-state-mode, semantic-stickyfunc-mode)
(semantic-highlight-func-mode):
* cedet/semantic/util.el (semantic-describe-buffer):
* cedet/semantic/symref.el (semantic-symref-find-references-by-name)
(semantic-symref-find-tags-by-name)
(semantic-symref-find-tags-by-regexp)
(semantic-symref-find-tags-by-completion)
(semantic-symref-find-file-references-by-name)
(semantic-symref-find-text):
* cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
(senator-yank-tag):
* cedet/semantic/scope.el (semantic-calculate-scope):
* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
(define-semantic-idle-service):
* cedet/semantic/complete.el (semantic-complete-analyze-inline)
(semantic-complete-analyze-inline-idle):
* cedet/semantic/analyze.el (semantic-analyze-current-context):
* cedet/mode-local.el (describe-mode-local-bindings)
(describe-mode-local-bindings-in-mode):
* cedet/ede/make.el (ede-make-check-version):
* cedet/ede/locate.el (ede-enable-locate-on-project):
* cedet/cedet-idutils.el (cedet-idutils-expand-filename)
(cedet-idutils-version-check):
* cedet/cedet-global.el (cedet-gnu-global-expand-filename)
(cedet-gnu-global-version-check):
* cedet/cedet-cscope.el (cedet-cscope-expand-filename)
(cedet-cscope-version-check): Use called-interactively-p instead
of interactive-p.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 22 Nov 2009 23:49:13 +0000 |
parents | 83dde921cc1b |
children | 1d1d5d9bd884 |
line wrap: on
line diff
--- a/lisp/cedet/semantic/util-modes.el Sun Nov 22 23:09:17 2009 +0000 +++ b/lisp/cedet/semantic/util-modes.el Sun Nov 22 23:49:13 2009 +0000 @@ -288,7 +288,7 @@ (not semantic-highlight-edits-mode))) (semantic-highlight-edits-mode-setup) (run-hooks 'semantic-highlight-edits-mode-hook) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "highlight-edits minor mode %sabled" (if semantic-highlight-edits-mode "en" "dis"))) (semantic-mode-line-update) @@ -496,7 +496,7 @@ (not semantic-show-unmatched-syntax-mode))) (semantic-show-unmatched-syntax-mode-setup) (run-hooks 'semantic-show-unmatched-syntax-mode-hook) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "show-unmatched-syntax minor mode %sabled" (if semantic-show-unmatched-syntax-mode "en" "dis"))) (semantic-mode-line-update) @@ -656,7 +656,7 @@ (not semantic-show-parser-state-mode))) (semantic-show-parser-state-mode-setup) (run-hooks 'semantic-show-parser-state-mode-hook) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "show-parser-state minor mode %sabled" (if semantic-show-parser-state-mode "en" "dis"))) (semantic-mode-line-update) @@ -928,7 +928,7 @@ (not semantic-stickyfunc-mode))) (semantic-stickyfunc-mode-setup) (run-hooks 'semantic-stickyfunc-mode-hook) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "Stickyfunc minor mode %sabled" (if semantic-stickyfunc-mode "en" "dis"))) (semantic-mode-line-update) @@ -1173,7 +1173,7 @@ (not semantic-highlight-func-mode))) (semantic-highlight-func-mode-setup) (run-hooks 'semantic-highlight-func-mode-hook) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "Highlight-Func minor mode %sabled" (if semantic-highlight-func-mode "en" "dis"))) semantic-highlight-func-mode)