Commit 0e829eab authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.

parent b1aa797c
2012-04-16 Glenn Morris <rgm@gnu.org>
* calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
* play/cookie1.el (cookie-snarf):
Give an explicit error if input file cannot be read.
......
;;; cal-tex.el --- calendar functions for printing calendars with LaTeX
;; Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc.
;; Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc.
;; Author: Steve Fisk <fisk@bowdoin.edu>
;; Edward M. Reingold <reingold@cs.uiuc.edu>
......@@ -1588,8 +1588,7 @@ informative header, and run HOOK."
(cal-tex-e-document)
(or (and cal-tex-preamble-extra
(string-match "inputenc" cal-tex-preamble-extra))
(not (re-search-backward "[^[:ascii:]]" nil 'move))
(progn
(when (re-search-backward "[^[:ascii:]]" nil 'move)
(goto-char (point-min))
(when (search-forward "documentclass" nil t)
(forward-line 1)
......
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