Remove lines with no effect: (unless limit (setf limit nil)) -> if limit==nil then limit=nil
Rewrite decision conditions to simpler equivalents
Remove (when (= (point-max) (+ (buffer-size) 1))) on the else branch of the if with same condition negated: condition always true (remove unnecessary evaluation of point-max and buffer-size)
Merge pull request #23 from aiwass93/conditions-rewrite

Remove lines with no effect: (unless limit (setf limit nil)) -> if limit...