+(defalias 'riece-normalize-modeline-string 'identity)
+
+(defalias 'riece-facep 'find-face)
+
+(defun riece-put-text-property-nonsticky (start end prop value
+ &optional object)
+ (add-text-properties start end (list prop value 'start-open t 'end-open t)
+ object))
+
+(defun riece-recent-messages (n)
+ "Return N most recent messages, most recent first.
+If N is nil, all messages will be returned."
+ (with-output-to-string
+ (print-recent-messages n)))
+
+(defalias 'riece-remprop 'remprop)
+