• Eli Zaretskii's avatar
    Fix bug #18384 with incorrect reporting of row number by posn-col-row. · 5735a30d
    Eli Zaretskii authored
     lisp/subr.el (posn-col-row): Revert the change from commit
     2010-11-13T21:07:58Z!eliz@gnu.org, which
     was inadvertently merged from emacs-23 release branch in 
    2010-11-18T03:54:14Z!monnier@iro.umontreal.ca, and
     introduced an off-by-one error in the reported row when there is a
     header line.
     src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in
     the reported row in the case of a window with a header line, by
     improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org
ChangeLog 584 KB