comparison 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
comparison
equal deleted inserted replaced
106196:2721ecb2b07c 106197:019d906c8f48
286 (prefix-numeric-value arg) 286 (prefix-numeric-value arg)
287 0) 287 0)
288 (not semantic-highlight-edits-mode))) 288 (not semantic-highlight-edits-mode)))
289 (semantic-highlight-edits-mode-setup) 289 (semantic-highlight-edits-mode-setup)
290 (run-hooks 'semantic-highlight-edits-mode-hook) 290 (run-hooks 'semantic-highlight-edits-mode-hook)
291 (if (interactive-p) 291 (if (called-interactively-p 'interactive)
292 (message "highlight-edits minor mode %sabled" 292 (message "highlight-edits minor mode %sabled"
293 (if semantic-highlight-edits-mode "en" "dis"))) 293 (if semantic-highlight-edits-mode "en" "dis")))
294 (semantic-mode-line-update) 294 (semantic-mode-line-update)
295 semantic-highlight-edits-mode) 295 semantic-highlight-edits-mode)
296 296
494 (prefix-numeric-value arg) 494 (prefix-numeric-value arg)
495 0) 495 0)
496 (not semantic-show-unmatched-syntax-mode))) 496 (not semantic-show-unmatched-syntax-mode)))
497 (semantic-show-unmatched-syntax-mode-setup) 497 (semantic-show-unmatched-syntax-mode-setup)
498 (run-hooks 'semantic-show-unmatched-syntax-mode-hook) 498 (run-hooks 'semantic-show-unmatched-syntax-mode-hook)
499 (if (interactive-p) 499 (if (called-interactively-p 'interactive)
500 (message "show-unmatched-syntax minor mode %sabled" 500 (message "show-unmatched-syntax minor mode %sabled"
501 (if semantic-show-unmatched-syntax-mode "en" "dis"))) 501 (if semantic-show-unmatched-syntax-mode "en" "dis")))
502 (semantic-mode-line-update) 502 (semantic-mode-line-update)
503 semantic-show-unmatched-syntax-mode) 503 semantic-show-unmatched-syntax-mode)
504 504
654 (prefix-numeric-value arg) 654 (prefix-numeric-value arg)
655 0) 655 0)
656 (not semantic-show-parser-state-mode))) 656 (not semantic-show-parser-state-mode)))
657 (semantic-show-parser-state-mode-setup) 657 (semantic-show-parser-state-mode-setup)
658 (run-hooks 'semantic-show-parser-state-mode-hook) 658 (run-hooks 'semantic-show-parser-state-mode-hook)
659 (if (interactive-p) 659 (if (called-interactively-p 'interactive)
660 (message "show-parser-state minor mode %sabled" 660 (message "show-parser-state minor mode %sabled"
661 (if semantic-show-parser-state-mode "en" "dis"))) 661 (if semantic-show-parser-state-mode "en" "dis")))
662 (semantic-mode-line-update) 662 (semantic-mode-line-update)
663 semantic-show-parser-state-mode) 663 semantic-show-parser-state-mode)
664 664
926 (prefix-numeric-value arg) 926 (prefix-numeric-value arg)
927 0) 927 0)
928 (not semantic-stickyfunc-mode))) 928 (not semantic-stickyfunc-mode)))
929 (semantic-stickyfunc-mode-setup) 929 (semantic-stickyfunc-mode-setup)
930 (run-hooks 'semantic-stickyfunc-mode-hook) 930 (run-hooks 'semantic-stickyfunc-mode-hook)
931 (if (interactive-p) 931 (if (called-interactively-p 'interactive)
932 (message "Stickyfunc minor mode %sabled" 932 (message "Stickyfunc minor mode %sabled"
933 (if semantic-stickyfunc-mode "en" "dis"))) 933 (if semantic-stickyfunc-mode "en" "dis")))
934 (semantic-mode-line-update) 934 (semantic-mode-line-update)
935 semantic-stickyfunc-mode) 935 semantic-stickyfunc-mode)
936 936
1171 (prefix-numeric-value arg) 1171 (prefix-numeric-value arg)
1172 0) 1172 0)
1173 (not semantic-highlight-func-mode))) 1173 (not semantic-highlight-func-mode)))
1174 (semantic-highlight-func-mode-setup) 1174 (semantic-highlight-func-mode-setup)
1175 (run-hooks 'semantic-highlight-func-mode-hook) 1175 (run-hooks 'semantic-highlight-func-mode-hook)
1176 (if (interactive-p) 1176 (if (called-interactively-p 'interactive)
1177 (message "Highlight-Func minor mode %sabled" 1177 (message "Highlight-Func minor mode %sabled"
1178 (if semantic-highlight-func-mode "en" "dis"))) 1178 (if semantic-highlight-func-mode "en" "dis")))
1179 semantic-highlight-func-mode) 1179 semantic-highlight-func-mode)
1180 1180
1181 (defun semantic-highlight-func-highlight-current-tag (&optional disable) 1181 (defun semantic-highlight-func-highlight-current-tag (&optional disable)