summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/fw.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-10-25 02:55:27 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-10-25 02:55:27 +0000
commiteefa91dbc077bec47247a7c32fe5d136323360ff (patch)
tree3dfcf5be084bad565efd7f9f14fad2fe3430d940 /lisp/cedet/semantic/fw.el
parent7c85c02b812e427c3f5e41761ae5f44b18c34ea6 (diff)
downloademacs-eefa91dbc077bec47247a7c32fe5d136323360ff.tar.gz
emacs-eefa91dbc077bec47247a7c32fe5d136323360ff.tar.bz2
emacs-eefa91dbc077bec47247a7c32fe5d136323360ff.zip
* cedet/semantic/fw.el (semantic-alias-obsolete)
(semantic-varalias-obsolete): Make the `when' arg mandatory. (define-mode-overload-implementation): * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): * cedet/semantic/wisent.el (wisent-lex-make-token-table): * cedet/semantic/util.el (semantic-file-token-stream) (semantic-something-to-stream): * cedet/semantic/tag.el (semantic-tag-make-assoc-list) (semantic-expand-nonterminal): * cedet/semantic/tag-file.el (semantic-find-nonterminal) (semantic-find-dependency, semantic-find-nonterminal) (semantic-find-dependency): * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end) (semantic-flex-text, semantic-flex-make-keyword-table) (semantic-flex-keyword-p, semantic-flex-keyword-put) (semantic-flex-keyword-get, semantic-flex-map-keywords) (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): * cedet/semantic/java.el (semantic-java-prototype-nonterminal): * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) (semantic-after-idle-scheduler-reparse-hooks): * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): * cedet/semantic/db-mode.el (semanticdb-mode-hooks): * cedet/semantic.el (semantic-toplevel-bovine-table) (semantic-toplevel-bovine-cache) (semantic-before-toplevel-bovination-hook, semantic-init-hooks) (semantic-init-mode-hooks, semantic-init-db-hooks) (semantic-bovination-working-type): Provide the `when' arg.
Diffstat (limited to 'lisp/cedet/semantic/fw.el')
-rw-r--r--lisp/cedet/semantic/fw.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index 95eb4b6e453..1c8d2804202 100644
--- a/lisp/cedet/semantic/fw.el
+++ b/lisp/cedet/semantic/fw.el
@@ -148,7 +148,7 @@ Remove self from `post-command-hook' if it is empty."
(intern (substring sym-name (match-end 0)))
name)))
-(defun semantic-alias-obsolete (oldfnalias newfn &optional when)
+(defun semantic-alias-obsolete (oldfnalias newfn when)
"Make OLDFNALIAS an alias for NEWFN.
Mark OLDFNALIAS as obsolete, such that the byte compiler
will throw a warning when it encounters this symbol."
@@ -169,7 +169,7 @@ will throw a warning when it encounters this symbol."
(semantic-overload-symbol-from-function oldfnalias))
))
-(defun semantic-varalias-obsolete (oldvaralias newvar &optional when)
+(defun semantic-varalias-obsolete (oldvaralias newvar when)
"Make OLDVARALIAS an alias for variable NEWVAR.
Mark OLDVARALIAS as obsolete, such that the byte compiler
will throw a warning when it encounters this symbol."
@@ -219,7 +219,7 @@ FUNCTION does not have arguments. When FUNCTION is entered
(defalias 'semantic-map-mode-buffers 'mode-local-map-mode-buffers)
(semantic-alias-obsolete 'define-mode-overload-implementation
- 'define-mode-local-override)
+ 'define-mode-local-override "23.2")
(defun semantic-install-function-overrides (overrides &optional transient mode)
"Install the function OVERRIDES in the specified environment.