From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 16:46:27 +0000 (+0200) Subject: Mark some unused defaliases in semantic/fw.el obsolete X-Git-Tag: emacs-28.0.90~6645 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1dfb170476602aa03eca2f637803f929f97b1549;p=emacs.git 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. --- diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index 7a1273d6534..e347c99f191 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el @@ -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."