Emacs Lisp: (goto-char 1) vs (goto-char (point-min))

By Xah Lee. Date: .

change all (goto-char 1) to (goto-char (point-min)) on my site and all emacs lisp code.

it was a bug. When narrow-to-region is in effect, the minimal position is not 1. But at some point i thought it is, so started to use (goto-char 1) instead of (goto-char (point-min)). The error does not manifest itself, because if you goto-char before point min, it just move to point min anyway without error.

changed files: