aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorEli Zaretskii2023-04-22 19:27:16 +0300
committerEli Zaretskii2023-04-22 19:27:16 +0300
commit9a0f10b5f88667261bafc65ccdd63bdd9ef80147 (patch)
treeed99dda5df927febb4ddf1a626eb50bb7af7526d /exec/exec.c
parent4e0f4292aaf1a9bf26ba2ee2983955cefc50beea (diff)
downloademacs-9a0f10b5f88667261bafc65ccdd63bdd9ef80147.tar.gz
emacs-9a0f10b5f88667261bafc65ccdd63bdd9ef80147.zip
Fix line-number-at-pos when POSITION is out of narrowing
* src/fns.c (Fline_number_at_pos): Don't signal an error when ABSOLUTE is nil and POSITION is outside of the narrowing, like the original Lisp implementation did. Minor speedup by using the byte position where it is available from the get-go. (Bug#62857)
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions