Mercurial > emacs
view src/s/hpux11.h @ 92004:db743b98a24b
Allow different windows to show different pages.
(doc-view-current-page, doc-view-current-slice, doc-view-current-info)
(doc-view-current-image, doc-view-current-overlay): Remove variables,
add them back as macros instead, using image-mode-winprops instead.
Update all users of those variables.
(doc-view-new-window-function): New function to create a new overlay
for each new window.
(doc-view-mode): Use it and image-mode-setup-winprops.
(doc-view-clone-buffer-hook): Rewrite accordingly.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 21 Feb 2008 03:45:04 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 cb1bfa1dca4f |
line wrap: on
line source
#include "hpux10-20.h" #define HPUX11 #ifdef POSIX_SIGNALS #undef POSIX_SIGNALS #endif #define POSIX_SIGNALS 1 /* SA_RESTART resets the timeout of `select', so don't use it. */ #define BROKEN_SA_RESTART /* It does work on HPUX to open the pty's tty in the parent (Emacs), then close and reopen it in the child. */ #define USG_SUBTTY_WORKS /* arch-tag: f5a3d780-82cd-4a9a-832e-a4031aab788b (do not change this comment) */