summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/fw.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:46:27 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:46:27 +0200
commit1dfb170476602aa03eca2f637803f929f97b1549 (patch)
treeede986cc939bba880c85dd8dc3ea4f94291e00ef /lisp/cedet/semantic/fw.el
parente97d3e1a268c33ed6da420fa1d3a18268a1f6b91 (diff)
downloademacs-1dfb170476602aa03eca2f637803f929f97b1549.tar.gz
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.
Diffstat (limited to 'lisp/cedet/semantic/fw.el')
-rw-r--r--lisp/cedet/semantic/fw.el10
1 files changed, 4 insertions, 6 deletions
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."