Mercurial > emacs
view src/s/isc4-0.h @ 41619:270ae8c49bbc
Misc cleanup.
(hide-ifdef-mode-submap): Put the def in the defvar.
Use substitute-key-definition.
(hide-ifdef-mode): Use define-minor-mode.
(hif-outline-flag-region): Remove.
(hif-show-all): Define in terms of hif-show-ifdef-region.
(hif-after-revert-function): Rename from hif-before-revert-function.
(hide-ifdef-region, hif-show-ifdef-region): Use overlays.
(hif-tokenize): Use with-syntax-table.
(hif-make-range): Use `else' also for `else-p'.
(hif-range-else-p): Remove.
(hif-find-range): Simplify.
(hif-hide-line): Don't bother preserving buffer-modified-p.
(hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
Don't use selective-display and inhibit-read-only.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 28 Nov 2001 04:12:47 +0000 |
parents | 628cd9eccd18 |
children | 695cf19ef79e |
line wrap: on
line source
#include "isc3-0.h" #undef LIBS_SYSTEM #define LIBS_SYSTEM -linet -lcposix #define ISC4_0 /* fmcphers@csugrad.cs.vt.edu reported this was necessary. He used GCC. I don't know what is needed with other compilers. */ #ifdef __GNUC__ #undef LIBX11_SYSTEM #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc #endif /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> says this is needed. */ #ifndef POSIX_SIGNALS #ifndef sigblock #ifndef SIG_BLOCK #define SIG_BLOCK 0 #endif #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) #define sigunblock(sig) \ (sigprocmask_set = SIGFULLMASK & ~(sig), \ sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) #endif #endif /* not POSIX_SIGNALS */