aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2015-07-18 13:23:22 +0300
committerEli Zaretskii2015-07-18 13:23:22 +0300
commit166ffcb6c7a012ed5f655d7bb0fad97319ad54fc (patch)
treeb003c93eae7a22c64e78be8e738ec5b0c2b7bc2c /etc
parentd3816bf8ad1fcfed2a32d23216a55850ee4325b5 (diff)
downloademacs-166ffcb6c7a012ed5f655d7bb0fad97319ad54fc.tar.gz
emacs-166ffcb6c7a012ed5f655d7bb0fad97319ad54fc.zip
Fix following Info cross-references to anchors
* lisp/info.el (Info-read-subfile): Add to the returned value the length of subfile preamble, after converting it to file's byte offset, as expected by the caller. Use bufferpos-to-filepos. (Info-find-node-2): If searching for a node with a 1000-character slop fails, try again with a 10000-character slop, to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055) * lisp/international/mule-util.el (bufferpos-to-filepos): New function. * etc/NEWS: Mention bufferpos-to-filepos.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e56d498d4fe..07bff641720 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -911,7 +911,7 @@ be updated accordingly.
911 911
912* Lisp Changes in Emacs 25.1 912* Lisp Changes in Emacs 25.1
913 913
914** New function `filepos-to-bufferpos'. 914** New functions `filepos-to-bufferpos' and `bufferpos-to-filepos'.
915 915
916** The default value of `load-read-function' is now `read'. 916** The default value of `load-read-function' is now `read'.
917 917