summaryrefslogtreecommitdiff
path: root/lisp
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
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')
-rw-r--r--lisp/cedet/semantic.el14
-rw-r--r--lisp/cedet/semantic/db-mode.el2
-rw-r--r--lisp/cedet/semantic/decorate/mode.el2
-rw-r--r--lisp/cedet/semantic/edit.el2
-rw-r--r--lisp/cedet/semantic/fw.el6
-rw-r--r--lisp/cedet/semantic/idle.el4
-rw-r--r--lisp/cedet/semantic/java.el2
-rw-r--r--lisp/cedet/semantic/lex.el22
-rw-r--r--lisp/cedet/semantic/tag-file.el8
-rw-r--r--lisp/cedet/semantic/tag.el4
-rw-r--r--lisp/cedet/semantic/util.el4
-rw-r--r--lisp/cedet/semantic/wisent.el2
12 files changed, 36 insertions, 36 deletions
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el
index 831041e74da..c6b53c0f559 100644
--- a/lisp/cedet/semantic.el
+++ b/lisp/cedet/semantic.el
@@ -77,7 +77,7 @@ This variable is for internal use only, and its content depends on the
external parser used.")
(make-variable-buffer-local 'semantic--parse-table)
(semantic-varalias-obsolete 'semantic-toplevel-bovine-table
- 'semantic--parse-table)
+ 'semantic--parse-table "23.2")
(defvar semantic-symbol->name-assoc-list
'((type . "Types")
@@ -129,7 +129,7 @@ cached values for some reason, chances are you can, add a hook to
`semantic-after-toplevel-cache-change-hook'.")
(make-variable-buffer-local 'semantic--buffer-cache)
(semantic-varalias-obsolete 'semantic-toplevel-bovine-cache
- 'semantic--buffer-cache)
+ 'semantic--buffer-cache "23.2")
(defvar semantic-unmatched-syntax-cache nil
"A cached copy of unmatched syntax tokens.")
@@ -166,7 +166,7 @@ It is called before any request for tags is made via the function
If any hook returns a nil value, the cached value is returned
immediately, even if it is empty.")
(semantic-varalias-obsolete 'semantic-before-toplevel-bovination-hook
- 'semantic--before-fetch-tags-hook)
+ 'semantic--before-fetch-tags-hook "23.2")
(defvar semantic-after-toplevel-bovinate-hook nil
"Hooks run after a toplevel parse.
@@ -298,11 +298,11 @@ This guarantees that the DB will go before other modes that require
a parse of the buffer.")
(semantic-varalias-obsolete 'semantic-init-hooks
- 'semantic-init-hook)
+ 'semantic-init-hook "23.2")
(semantic-varalias-obsolete 'semantic-init-mode-hooks
- 'semantic-init-mode-hook)
+ 'semantic-init-mode-hook "23.2")
(semantic-varalias-obsolete 'semantic-init-db-hooks
- 'semantic-init-db-hook)
+ 'semantic-init-db-hook "23.2")
(defvar semantic-new-buffer-fcn-was-run nil
"Non nil after `semantic-new-buffer-fcn' has been executed.")
@@ -550,7 +550,7 @@ is requested."
'percent means we are doing a linear parse through the buffer.
'dynamic means we are reparsing specific tags.")
(semantic-varalias-obsolete 'semantic-bovination-working-type
- 'semantic-working-type)
+ 'semantic-working-type "23.2")
(defvar semantic-minimum-working-buffer-size (* 1024 5)
"*The minimum size of a buffer before working messages are displayed.
diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el
index affe0ab6a21..5307e8958a4 100644
--- a/lisp/cedet/semantic/db-mode.el
+++ b/lisp/cedet/semantic/db-mode.el
@@ -71,7 +71,7 @@ database, which can be saved for future Emacs sessions."
(defvaralias 'semanticdb-mode-hook 'global-semanticdb-minor-mode-hook)
(defvaralias 'semanticdb-global-mode 'global-semanticdb-minor-mode)
(semantic-varalias-obsolete 'semanticdb-mode-hooks
- 'global-semanticdb-minor-mode-hook)
+ 'global-semanticdb-minor-mode-hook "23.2")
(defun semanticdb-toggle-global-mode ()
diff --git a/lisp/cedet/semantic/decorate/mode.el b/lisp/cedet/semantic/decorate/mode.el
index 00114890644..f0aad47141a 100644
--- a/lisp/cedet/semantic/decorate/mode.el
+++ b/lisp/cedet/semantic/decorate/mode.el
@@ -197,7 +197,7 @@ Also make sure old decorations in the area are completely flushed."
"Normal hook run to perform pending decoration changes.")
(semantic-varalias-obsolete 'semantic-decorate-pending-decoration-hooks
- 'semantic-decorate-pending-decoration-hook)
+ 'semantic-decorate-pending-decoration-hook "23.2")
(defun semantic-decorate-add-pending-decoration (fcn &optional buffer)
"Add a pending decoration change represented by FCN.
diff --git a/lisp/cedet/semantic/edit.el b/lisp/cedet/semantic/edit.el
index 9a6b71a4d2a..ca5212fde62 100644
--- a/lisp/cedet/semantic/edit.el
+++ b/lisp/cedet/semantic/edit.el
@@ -117,7 +117,7 @@ incremental reparse.")
When this happens, the buffer is marked as needing a full reparse.")
(semantic-varalias-obsolete 'semantic-edits-incremental-reparse-failed-hooks
- 'semantic-edits-incremental-reparse-failed-hook)
+ 'semantic-edits-incremental-reparse-failed-hook "23.2")
(defcustom semantic-edits-verbose-flag nil
"Non-nil means the incremental parser is verbose.
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.
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index 45f804b62a7..38811634670 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -493,9 +493,9 @@ If any hook function throws an error, this variable is reset to nil.
This hook is not protected from lexical errors.")
(semantic-varalias-obsolete 'semantic-before-idle-scheduler-reparse-hooks
- 'semantic-before-idle-scheduler-reparse-hook)
+ 'semantic-before-idle-scheduler-reparse-hook "23.2")
(semantic-varalias-obsolete 'semantic-after-idle-scheduler-reparse-hooks
- 'semantic-after-idle-scheduler-reparse-hook)
+ 'semantic-after-idle-scheduler-reparse-hook "23.2")
(defun semantic-idle-scheduler-refresh-tags ()
"Refreshes the current buffer's tags.
diff --git a/lisp/cedet/semantic/java.el b/lisp/cedet/semantic/java.el
index bd37a937071..fcdd63ef490 100644
--- a/lisp/cedet/semantic/java.el
+++ b/lisp/cedet/semantic/java.el
@@ -232,7 +232,7 @@ Optional argument COLOR indicates that color should be mixed in."
tag parent color)))
(semantic-alias-obsolete 'semantic-java-prototype-nonterminal
- 'semantic-format-tag-prototype-java-mode)
+ 'semantic-format-tag-prototype-java-mode "23.2")
;; Include Tag Name
;;
diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el
index 03545ff1327..54e4ef44eda 100644
--- a/lisp/cedet/semantic/lex.el
+++ b/lisp/cedet/semantic/lex.el
@@ -1752,17 +1752,17 @@ If there is no error, then the last value of FORMS is returned."
;;
;; NOTE: DELETE THIS SOMEDAY SOON
-(semantic-alias-obsolete 'semantic-flex-start 'semantic-lex-token-start)
-(semantic-alias-obsolete 'semantic-flex-end 'semantic-lex-token-end)
-(semantic-alias-obsolete 'semantic-flex-text 'semantic-lex-token-text)
-(semantic-alias-obsolete 'semantic-flex-make-keyword-table 'semantic-lex-make-keyword-table)
-(semantic-alias-obsolete 'semantic-flex-keyword-p 'semantic-lex-keyword-p)
-(semantic-alias-obsolete 'semantic-flex-keyword-put 'semantic-lex-keyword-put)
-(semantic-alias-obsolete 'semantic-flex-keyword-get 'semantic-lex-keyword-get)
-(semantic-alias-obsolete 'semantic-flex-map-keywords 'semantic-lex-map-keywords)
-(semantic-alias-obsolete 'semantic-flex-keywords 'semantic-lex-keywords)
-(semantic-alias-obsolete 'semantic-flex-buffer 'semantic-lex-buffer)
-(semantic-alias-obsolete 'semantic-flex-list 'semantic-lex-list)
+(semantic-alias-obsolete 'semantic-flex-start 'semantic-lex-token-start "23.2")
+(semantic-alias-obsolete 'semantic-flex-end 'semantic-lex-token-end "23.2")
+(semantic-alias-obsolete 'semantic-flex-text 'semantic-lex-token-text "23.2")
+(semantic-alias-obsolete 'semantic-flex-make-keyword-table 'semantic-lex-make-keyword-table "23.2")
+(semantic-alias-obsolete 'semantic-flex-keyword-p 'semantic-lex-keyword-p "23.2")
+(semantic-alias-obsolete 'semantic-flex-keyword-put 'semantic-lex-keyword-put "23.2")
+(semantic-alias-obsolete 'semantic-flex-keyword-get 'semantic-lex-keyword-get "23.2")
+(semantic-alias-obsolete 'semantic-flex-map-keywords 'semantic-lex-map-keywords "23.2")
+(semantic-alias-obsolete 'semantic-flex-keywords 'semantic-lex-keywords "23.2")
+(semantic-alias-obsolete 'semantic-flex-buffer 'semantic-lex-buffer "23.2")
+(semantic-alias-obsolete 'semantic-flex-list 'semantic-lex-list "23.2")
;; This simple scanner uses the syntax table to generate a stream of
;; simple tokens of the form:
diff --git a/lisp/cedet/semantic/tag-file.el b/lisp/cedet/semantic/tag-file.el
index 74720b481c3..70d6b9cd688 100644
--- a/lisp/cedet/semantic/tag-file.el
+++ b/lisp/cedet/semantic/tag-file.el
@@ -103,7 +103,7 @@ PARENT can also be a `semanticdb-table' object."
)
(make-obsolete-overload 'semantic-find-nonterminal
- 'semantic-go-to-tag)
+ 'semantic-go-to-tag "23.2")
;;; Dependencies
;;
@@ -177,7 +177,7 @@ Depends on `semantic-dependency-include-path' for searching. Always searches
)))
(make-obsolete-overload 'semantic-find-dependency
- 'semantic-dependency-tag-file)
+ 'semantic-dependency-tag-file "23.2")
;;; PROTOTYPE FILE
;;
@@ -203,10 +203,10 @@ file prototypes belong in."
(match-string 1))))))
(semantic-alias-obsolete 'semantic-find-nonterminal
- 'semantic-go-to-tag)
+ 'semantic-go-to-tag "23.2")
(semantic-alias-obsolete 'semantic-find-dependency
- 'semantic-dependency-tag-file)
+ 'semantic-dependency-tag-file "23.2")
(provide 'semantic/tag-file)
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el
index 44fbe764059..eb0d15181bf 100644
--- a/lisp/cedet/semantic/tag.el
+++ b/lisp/cedet/semantic/tag.el
@@ -1350,10 +1350,10 @@ use `semantic-tag-type-superclass' \
and `semantic-tag-type-interfaces' instead" "23.2")
(semantic-alias-obsolete 'semantic-tag-make-assoc-list
- 'semantic-tag-make-plist)
+ 'semantic-tag-make-plist "23.2")
(semantic-varalias-obsolete 'semantic-expand-nonterminal
- 'semantic-tag-expand-function)
+ 'semantic-tag-expand-function "23.2")
(provide 'semantic/tag)
diff --git a/lisp/cedet/semantic/util.el b/lisp/cedet/semantic/util.el
index 6d3985e147b..126c587a801 100644
--- a/lisp/cedet/semantic/util.el
+++ b/lisp/cedet/semantic/util.el
@@ -81,7 +81,7 @@ If FILE is not loaded, and semanticdb is not available, find the file
(semantic-fetch-tags))))))
(semantic-alias-obsolete 'semantic-file-token-stream
- 'semantic-file-tag-table)
+ 'semantic-file-tag-table "23.2")
(defun semantic-something-to-tag-table (something)
"Convert SOMETHING into a semantic tag table.
@@ -134,7 +134,7 @@ buffer, or a filename. If SOMETHING is nil return nil."
(t nil)))
(semantic-alias-obsolete 'semantic-something-to-stream
- 'semantic-something-to-tag-table)
+ 'semantic-something-to-tag-table "23.2")
;;; Recursive searching through dependency trees
;;
diff --git a/lisp/cedet/semantic/wisent.el b/lisp/cedet/semantic/wisent.el
index c83297106b4..25d5124ce3b 100644
--- a/lisp/cedet/semantic/wisent.el
+++ b/lisp/cedet/semantic/wisent.el
@@ -48,7 +48,7 @@ When non-nil it is directly returned by `wisent-lex-function'.")
;; Maintain this alias for compatibility until all WY grammars have
;; been translated again to Elisp code.
(semantic-alias-obsolete 'wisent-lex-make-token-table
- 'semantic-lex-make-type-table)
+ 'semantic-lex-make-type-table "23.2")
(defmacro wisent-lex-eoi ()
"Return an End-Of-Input lexical token.