summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-05-23 18:27:19 +0200
committerUlrich Müller <ulm@gentoo.org>2013-05-23 18:27:19 +0200
commit4939bef36b98bffa13c44dca6ebf7522b11775f5 (patch)
treeb8cd6440f708486bf0466f01f26a878518f5fb6c
parentPatchset for elisp-manual-23.4. (diff)
downloademacs-patches-4939bef36b98bffa13c44dca6ebf7522b11775f5.tar.gz
emacs-patches-4939bef36b98bffa13c44dca6ebf7522b11775f5.tar.bz2
emacs-patches-4939bef36b98bffa13c44dca6ebf7522b11775f5.zip
Fix Info reader to support Info files created by makeinfo 5, bug 464368.emacs-24.3-patches-2
-rw-r--r--emacs/24.3/02_all_texinfo-5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/24.3/02_all_texinfo-5.patch b/emacs/24.3/02_all_texinfo-5.patch
new file mode 100644
index 0000000..e7f1f43
--- /dev/null
+++ b/emacs/24.3/02_all_texinfo-5.patch
@@ -0,0 +1,16 @@
+Fix Info reader to support Info files created by makeinfo 5.
+Patch from upstream.
+https://bugs.gentoo.org/464368
+http://debbugs.gnu.org/14125
+
+--- emacs-24.3-orig/lisp/info.el
++++ emacs-24.3/lisp/info.el
+@@ -1525,7 +1525,7 @@
+ (forward-char 1)
+ (search-forward "\n\^_"))
+ (if (numberp nodepos)
+- (+ (- nodepos lastfilepos) (point)))))
++ (+ (- nodepos lastfilepos) (point-min)))))
+
+ (defun Info-unescape-quotes (value)
+ "Unescape double quotes and backslashes in VALUE."