]> git.eshelyaron.com Git - emacs.git/commitdiff
Declare some compat aliases obsolete
authorStefan Kangas <stefan@marxist.se>
Thu, 19 Nov 2020 16:42:14 +0000 (17:42 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 19 Nov 2020 19:44:45 +0000 (20:44 +0100)
* lisp/cedet/semantic/tag.el (semantic-token-version)
(semantic-token-incompatible-version):
* lisp/emulation/edt.el (edt-bind-standard-key): Make compat
aliases obsolete.

lisp/cedet/semantic/tag.el
lisp/emulation/edt.el

index e677264c5a9b6705329d3e0b49f5a3283f4d0e75..badefd59e64c6fd07c42e0abd83ea0ac520c65d4 100644 (file)
@@ -1321,12 +1321,12 @@ This function is overridable with the symbol `insert-foreign-tag'."
   "Insert foreign tags into log-edit mode."
   (insert (concat "(" (semantic-format-tag-name foreign-tag) "): ")))
 \f
-;;; Compatibility
+;;; Obsolete
 ;;
-(defconst semantic-token-version
-  semantic-tag-version)
-(defconst semantic-token-incompatible-version
-  semantic-tag-incompatible-version)
+(define-obsolete-variable-alias 'semantic-token-version
+  'semantic-tag-version "28.1")
+(define-obsolete-variable-alias 'semantic-token-incompatible-version
+  'semantic-tag-incompatible-version "28.1")
 
 (provide 'semantic/tag)
 
index e70b44658d539cb3acb18d244fd9cd4e053d4124..b29ad7702ef6efa8d0de1955efe415c1eb25bec8 100644 (file)
@@ -2161,8 +2161,7 @@ Argument KEY is the name of a key.  It can be a standard key or a function key.
 Argument BINDING is the Emacs function to be bound to <KEY>."
   (define-key edt-user-global-map key binding))
 
-;;  For backward compatibility to existing edt-user.el files.
-(fset 'edt-bind-standard-key (symbol-function 'edt-bind-key))
+(define-obsolete-function-alias 'edt-bind-standard-key #'edt-bind-key "28.1")
 
 (defun edt-bind-gold-key (key gold-binding)
   "Binds <GOLD> standard key sequences to custom bindings in the EDT Emulator.