Fix a warning about previous-line

The following warning is fixed.

smart-newline.el:53:6:Warning: `previous-line' used from Lisp code
That command is designed for interactive use only