Warning (bytecomp): ‘beginning-of-buffer’ is for interactive use only;
use ‘(goto-char (point-min))’ instead.
Warning (bytecomp): ‘replace-string’ is for interactive use only; use
‘search-forward’ and ‘replace-match’ instead.
I am not sure if my fix is perfect but it definitely removes the above
warning messages since I followed its suggestions.
Warning (bytecomp): ‘beginning-of-buffer’ is for interactive use only; use ‘(goto-char (point-min))’ instead. Warning (bytecomp): ‘replace-string’ is for interactive use only; use ‘search-forward’ and ‘replace-match’ instead. I am not sure if my fix is perfect but it definitely removes the above warning messages since I followed its suggestions.