view src/pre-crt0.c @ 112039:2fef20daac2b

* doc-view.el (doc-view-set-doc-type): New function refactored from doc-view-mode. (doc-view-fallback-mode): New function. (doc-view-mode): Use it. (doc-view-mode-maybe): New function that checks if doc-view-mode can be used and falls back to the next best mode otherwise. * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF, DVI, OpenDocument, and MS Office files.
author Tassilo Horn <tassilo@member.fsf.org>
date Thu, 30 Dec 2010 19:08:18 +0100
parents 695cf19ef79e
children 375f2633d815 ef719132ddfa
line wrap: on
line source

/* This file is loaded before crt0.o on machines where we do not
   remap part of the data space into text space in unexec.
   On these machines, there is no problem with standard crt0.o's
   that make environ an initialized variable.  However, we do
   need to make sure the label data_start exists anyway.  */

/* Create a label to appear at the beginning of data space.  */

int data_start = 0;

/* arch-tag: 2e260272-0790-495f-9362-55abd56b5c5a
   (do not change this comment) */