From a146e617284d896276caab6f8a7177d81dd99400 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 25 Jul 2019 19:43:58 +0200 Subject: [PATCH] Remove DIR!, FILE! and def-advice! obsolete aliases --- core/core-lib.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 084f51bd1..4509dc5da 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -185,7 +185,6 @@ at the values with which this function was called." (call-interactively command)))) (defalias 'lambda!! 'λ!!) -(define-obsolete-function-alias 'FILE! 'file!) ; DEPRECATED (defun file! () "Return the emacs lisp file this macro is called from." (cond ((bound-and-true-p byte-compile-current-file)) @@ -194,7 +193,6 @@ at the values with which this function was called." (car current-load-list)) (buffer-file-name))) -(define-obsolete-function-alias 'DIR! 'dir!) ; DEPRECATED (defun dir! () "Returns the directory of the emacs lisp file this macro is called from." (when-let (path (file!)) @@ -455,7 +453,6 @@ writes to `standard-output'." ;; ;;; Definers -(define-obsolete-function-alias 'def-advice! 'defadvice!) (defmacro defadvice! (symbol arglist &optional docstring &rest body) "Define an advice called NAME and add it to PLACES.