Commit ac0f1b85 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #18760 with incorrect decoding of tutorial for "About Emacs" screen.

 lisp/startup.el (fancy-about-text): Read the entire tutorial, not
 just its first 256 bytes.
parent acc443ad
2014-10-23 Eli Zaretskii <eliz@gnu.org>
* startup.el (fancy-about-text): Read the entire tutorial, not
just its first 256 bytes. (Bug#18760)
2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
 
* emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
......
......@@ -1523,7 +1523,10 @@ Each element in the list should be a list of strings or pairs
(title (with-temp-buffer
(insert-file-contents
(expand-file-name tut tutorial-directory)
nil 0 256)
;; Reat the entire file, to make sure any
;; coding cookies and other local variables
;; get acted upon.
nil)
(search-forward ".")
(buffer-substring (point-min) (1- (point))))))
;; If there is a specific tutorial for the current language
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment