summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2019-10-21 21:21:50 +0200
committerStefan Kangas <stefankangas@gmail.com>2019-10-21 21:21:50 +0200
commitce94c43c155f86bbbd9d3196ff84f334738ced75 (patch)
tree30ddfd6b46394ec3846b3ba8b851b9937926526a
parent969f84b694a830272f1a05ae3a75f0c3885c8479 (diff)
downloademacs-ce94c43c155f86bbbd9d3196ff84f334738ced75.tar.gz
Clean up previous icalendar.el change
* lisp/calendar/icalendar.el (icalendar--rris): Redefine as obsolete function alias.
-rw-r--r--lisp/calendar/icalendar.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el
index 63d09dc4c24..1186ced3fb0 100644
--- a/lisp/calendar/icalendar.el
+++ b/lisp/calendar/icalendar.el
@@ -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.