Mark some unused defaliases in semantic/fw.el obsolete
* lisp/cedet/semantic/fw.el (semantic-run-mode-hooks) (semantic-subst-char-in-string): Make two unused defaliases obsolete.
This commit is contained in:
parent
e97d3e1a26
commit
1dfb170476
1 changed files with 4 additions and 6 deletions
|
@ -68,13 +68,11 @@
|
|||
|
||||
;; Since Emacs 22 major mode functions should use `run-mode-hooks' to
|
||||
;; run major mode hooks.
|
||||
(defalias 'semantic-run-mode-hooks
|
||||
(if (fboundp 'run-mode-hooks)
|
||||
'run-mode-hooks
|
||||
'run-hooks))
|
||||
(define-obsolete-function-alias 'semantic-run-mode-hooks 'run-mode-hooks "28.1")
|
||||
|
||||
;; Fancy compat usage now handled in cedet-compat
|
||||
(defalias 'semantic-subst-char-in-string 'subst-char-in-string)
|
||||
;; Fancy compat usage now handled in cedet-compat
|
||||
(define-obsolete-function-alias 'semantic-subst-char-in-string
|
||||
'subst-char-in-string "28.1")
|
||||
|
||||
(defun semantic-delete-overlay-maybe (overlay)
|
||||
"Delete OVERLAY if it is a semantic token overlay."
|
||||
|
|
Loading…
Add table
Reference in a new issue