diff options
| author | Stefan Kangas | 2020-11-19 17:42:14 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2020-11-19 20:44:45 +0100 |
| commit | 493e19b97f8561638f042fb166cd69a384718edd (patch) | |
| tree | 655d56e5137cfcb1e3862d393da4e83bd91db871 /lisp | |
| parent | 1ac6330fce34beaead60f1c5c7573950e9014780 (diff) | |
| download | emacs-493e19b97f8561638f042fb166cd69a384718edd.tar.gz emacs-493e19b97f8561638f042fb166cd69a384718edd.zip | |
Declare some compat aliases obsolete
* lisp/cedet/semantic/tag.el (semantic-token-version)
(semantic-token-incompatible-version):
* lisp/emulation/edt.el (edt-bind-standard-key): Make compat
aliases obsolete.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/cedet/semantic/tag.el | 10 | ||||
| -rw-r--r-- | lisp/emulation/edt.el | 3 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el index e677264c5a9..badefd59e64 100644 --- a/lisp/cedet/semantic/tag.el +++ b/lisp/cedet/semantic/tag.el | |||
| @@ -1321,12 +1321,12 @@ This function is overridable with the symbol `insert-foreign-tag'." | |||
| 1321 | "Insert foreign tags into log-edit mode." | 1321 | "Insert foreign tags into log-edit mode." |
| 1322 | (insert (concat "(" (semantic-format-tag-name foreign-tag) "): "))) | 1322 | (insert (concat "(" (semantic-format-tag-name foreign-tag) "): "))) |
| 1323 | 1323 | ||
| 1324 | ;;; Compatibility | 1324 | ;;; Obsolete |
| 1325 | ;; | 1325 | ;; |
| 1326 | (defconst semantic-token-version | 1326 | (define-obsolete-variable-alias 'semantic-token-version |
| 1327 | semantic-tag-version) | 1327 | 'semantic-tag-version "28.1") |
| 1328 | (defconst semantic-token-incompatible-version | 1328 | (define-obsolete-variable-alias 'semantic-token-incompatible-version |
| 1329 | semantic-tag-incompatible-version) | 1329 | 'semantic-tag-incompatible-version "28.1") |
| 1330 | 1330 | ||
| 1331 | (provide 'semantic/tag) | 1331 | (provide 'semantic/tag) |
| 1332 | 1332 | ||
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index e70b44658d5..b29ad7702ef 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -2161,8 +2161,7 @@ Argument KEY is the name of a key. It can be a standard key or a function key. | |||
| 2161 | Argument BINDING is the Emacs function to be bound to <KEY>." | 2161 | Argument BINDING is the Emacs function to be bound to <KEY>." |
| 2162 | (define-key edt-user-global-map key binding)) | 2162 | (define-key edt-user-global-map key binding)) |
| 2163 | 2163 | ||
| 2164 | ;; For backward compatibility to existing edt-user.el files. | 2164 | (define-obsolete-function-alias 'edt-bind-standard-key #'edt-bind-key "28.1") |
| 2165 | (fset 'edt-bind-standard-key (symbol-function 'edt-bind-key)) | ||
| 2166 | 2165 | ||
| 2167 | (defun edt-bind-gold-key (key gold-binding) | 2166 | (defun edt-bind-gold-key (key gold-binding) |
| 2168 | "Binds <GOLD> standard key sequences to custom bindings in the EDT Emulator. | 2167 | "Binds <GOLD> standard key sequences to custom bindings in the EDT Emulator. |