emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1dfb170 09/11: Mark some unused defaliases in semantic/fw.el obso


From: Lars Ingebrigtsen
Subject: master 1dfb170 09/11: Mark some unused defaliases in semantic/fw.el obsolete
Date: Wed, 12 Aug 2020 12:59:55 -0400 (EDT)

branch: master
commit 1dfb170476602aa03eca2f637803f929f97b1549
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/cedet/semantic/fw.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index 7a1273d..e347c99 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]