There is a function in ESS called ess-sas-goto-log (https://github.com/emacs-ess/ESS/blob/master/lisp/ess-sas-a.el#L705) that will open a log file and search forward using re-search-forward. I would like to make a version that searches backwards. What would be the best way to go about this?
I know I can simply replace search-forward with search-backward but I would like to do it the proper way.
Thanks!