]> git.eshelyaron.com Git - emacs.git/commitdiff
Clean up previous icalendar.el change
authorStefan Kangas <stefankangas@gmail.com>
Mon, 21 Oct 2019 19:21:50 +0000 (21:21 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Mon, 21 Oct 2019 19:21:50 +0000 (21:21 +0200)
* lisp/calendar/icalendar.el (icalendar--rris): Redefine as obsolete
function alias.

lisp/calendar/icalendar.el

index 63d09dc4c249511a25b5563d209e3a69609e8431..1186ced3fb0d520068346ad0d96dedeeb7d9bafc 100644 (file)
@@ -344,12 +344,8 @@ mix of different line endings."
     (while (re-search-forward "\r\n\\|\n\r" nil t)
       (replace-match "\n" nil nil))))
 
-(defsubst icalendar--rris (regexp rep string &optional fixedcase literal)
-  "Replace regular expression in string.
-Pass arguments REGEXP REP STRING FIXEDCASE LITERAL to
-`replace-regexp-in-string'."
-  (declare (obsolete replace-regexp-in-string "27.1"))
-  (replace-regexp-in-string regexp rep string fixedcase literal))
+(define-obsolete-function-alias 'icalendar--rris
+  'replace-regexp-in-string "27.1")
 
 (defun icalendar--read-element (invalue inparams)
   "Recursively read the next iCalendar element in the current buffer.