diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-10-23 19:32:51 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-10-23 19:32:51 +0300 |
commit | ac0f1b8597ec67288cd1774f02b5c7ea44c3c73c (patch) | |
tree | 0e9bcd201b5df7c8585e23c4cb02eacb2289256b /lisp/startup.el | |
parent | acc443ad03bf46aa49c87bc93f2df836bedede94 (diff) | |
download | emacs-ac0f1b8597ec67288cd1774f02b5c7ea44c3c73c.tar.gz |
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.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r-- | lisp/startup.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 58e970814b9..54ed53e69c8 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -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 |