emacs-diffs
[Top][All Lists]
Advanced

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

master 7c4c72f 1/2: Make two aliases obsolete in lisp/international/robi


From: Stefan Kangas
Subject: master 7c4c72f 1/2: Make two aliases obsolete in lisp/international/robin.el
Date: Mon, 13 Dec 2021 10:02:28 -0500 (EST)

branch: master
commit 7c4c72fa52aa80a5c399a4374ff1766377d1fd47
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Make two aliases obsolete in lisp/international/robin.el
    
    * lisp/international/robin.el (robin-transliterate-region)
    (robin-transliterate-buffer): Make obsolete.
---
 lisp/international/robin.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/international/robin.el b/lisp/international/robin.el
index c38cd82..4c498d7 100644
--- a/lisp/international/robin.el
+++ b/lisp/international/robin.el
@@ -529,10 +529,10 @@ Use the longest match method to select a rule."
       (insert (cadr tree))
       (delete-char (- end begin)))))
 
-;; for backward compatibility
-
-(fset 'robin-transliterate-region 'robin-convert-region)
-(fset 'robin-transliterate-buffer 'robin-convert-buffer)
+(define-obsolete-function-alias 'robin-transliterate-region
+  #'robin-convert-region "29.1")
+(define-obsolete-function-alias 'robin-transliterate-buffer
+  #'robin-convert-buffer "29.1")
 
 ;;; Reverse conversion
 



reply via email to

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