From 77e8d418a6e50855813f1647c242e2cee53f5083 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 20 Jun 2019 03:18:52 +0200 Subject: [PATCH] Declare semantic-*overlay* aliases obsolete * lisp/cedet/semantic/fw.el: Declare all the semantic-*overlay* aliases obsolete. --- lisp/cedet/semantic/fw.el | 42 +++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index 5b7386b7a29..0dd0a932188 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el @@ -34,25 +34,29 @@ ;;; Compatibility ;; -(defalias 'semantic-overlay-live-p 'overlay-buffer) -(defalias 'semantic-make-overlay 'make-overlay) -(defalias 'semantic-overlay-put 'overlay-put) -(defalias 'semantic-overlay-get 'overlay-get) -(defalias 'semantic-overlay-properties 'overlay-properties) -(defalias 'semantic-overlay-move 'move-overlay) -(defalias 'semantic-overlay-delete 'delete-overlay) -(defalias 'semantic-overlays-at 'overlays-at) -(defalias 'semantic-overlays-in 'overlays-in) -(defalias 'semantic-overlay-buffer 'overlay-buffer) -(defalias 'semantic-overlay-start 'overlay-start) -(defalias 'semantic-overlay-end 'overlay-end) -(defalias 'semantic-overlay-next-change 'next-overlay-change) -(defalias 'semantic-overlay-previous-change 'previous-overlay-change) -(defalias 'semantic-overlay-lists 'overlay-lists) -(defalias 'semantic-overlay-p 'overlayp) -(defalias 'semantic-read-event 'read-event) -(defalias 'semantic-popup-menu 'popup-menu) -(defalias 'semantic-buffer-local-value 'buffer-local-value) +(define-obsolete-function-alias 'semantic-overlay-live-p 'overlay-buffer "27.1") +(define-obsolete-function-alias 'semantic-make-overlay 'make-overlay "27.1") +(define-obsolete-function-alias 'semantic-overlay-put 'overlay-put "27.1") +(define-obsolete-function-alias 'semantic-overlay-get 'overlay-get "27.1") +(define-obsolete-function-alias 'semantic-overlay-properties + 'overlay-properties "27.1") +(define-obsolete-function-alias 'semantic-overlay-move 'move-overlay "27.1") +(define-obsolete-function-alias 'semantic-overlay-delete 'delete-overlay "27.1") +(define-obsolete-function-alias 'semantic-overlays-at 'overlays-at "27.1") +(define-obsolete-function-alias 'semantic-overlays-in 'overlays-in "27.1") +(define-obsolete-function-alias 'semantic-overlay-buffer 'overlay-buffer "27.1") +(define-obsolete-function-alias 'semantic-overlay-start 'overlay-start "27.1") +(define-obsolete-function-alias 'semantic-overlay-end 'overlay-end "27.1") +(define-obsolete-function-alias 'semantic-overlay-next-change + 'next-overlay-change "27.1") +(define-obsolete-function-alias 'semantic-overlay-previous-change + 'previous-overlay-change "27.1") +(define-obsolete-function-alias 'semantic-overlay-lists 'overlay-lists "27.1") +(define-obsolete-function-alias 'semantic-overlay-p 'overlayp "27.1") +(define-obsolete-function-alias 'semantic-read-event 'read-event "27.1") +(define-obsolete-function-alias 'semantic-popup-menu 'popup-menu "27.1") +(define-obsolete-function-alias 'semantic-buffer-local-value + 'buffer-local-value "27.1") (defun semantic-event-window (event) "Extract the window from EVENT." -- 2.39.2