projects
/
riece
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* riece-xemacs.el (riece-recent-messages): New function.
[riece]
/
lisp
/
riece-xemacs.el
diff --git
a/lisp/riece-xemacs.el
b/lisp/riece-xemacs.el
index
3c5cf43
..
71613f9
100644
(file)
--- a/
lisp/riece-xemacs.el
+++ b/
lisp/riece-xemacs.el
@@
-129,6
+129,12
@@
(add-text-properties start end (list prop value 'start-open t 'end-open t)
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)))
+
(provide 'riece-xemacs)
;;; riece-xemacs.el ends here
(provide 'riece-xemacs)
;;; riece-xemacs.el ends here