Mercurial > emacs
annotate src/s/osf5-0.h @ 32728:6fe525e8880c
(sh-mode-map): Remove bindings for
sh-electric-rparen, sh-electric-less and sh-electric-hash.
(sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
(sh-font-lock-heredoc, sh-font-lock-paren): New funs.
(sh-font-lock-syntactic-keywords): Use them.
(sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
(sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
(sh-mode): Don't override font-lock-unfontify-region-function.
Use a copy of sh-font-lock-syntactic-keywords.
(sh-set-shell): Don't set sh-electric-rparen-needed-here.
Don't call sh-scan-buffer since font-lock does it on the fly.
(sh-get-indent-info): Use `face' rather than `syntax-table'
text-property to detect here-documents.
Replace sh-special-syntax with sh-st-punc.
(sh-prev-line): Use `face' rather than `syntax-table'
text-property to skip over here-documents.
(sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
(sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
(sh-electric-less, sh-set-here-doc-region)
(sh-remove-our-text-properties, sh-search-word, sh-scan-case)
(sh-scan-buffer, sh-rescan-buffer): Remove.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 21 Oct 2000 18:05:45 +0000 |
parents | 44a6d62deb2b |
children | 7a1ddacf0683 |
rev | line source |
---|---|
29916 | 1 #define OSF5 |
2 #include "osf1.h" | |
29964
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
3 |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
4 /* The -BSD loses when _XOPEN_SOURCE gets defined by configure in |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
5 OSF 5. It's possible this will need to be reverted for earlier |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
6 versions (for which OSF5 isn't defined). */ |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
7 #undef C_SWITCH_SYSTEM |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
8 #define C_SWITCH_SYSTEM -D_OSF_SOURCE |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
9 #define WAIT_USE_INT |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
10 #define SYS_SIGLIST_DECLARED |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
11 #define sys_siglist __sys_siglist |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
12 #define NSIG __sys_nsig |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
13 |
9e78a25cbdbd
(C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
Dave Love <fx@gnu.org>
parents:
29916
diff
changeset
|
14 /* We have missing/inconsistent prototypes on 5.0, at least. */ |
29916 | 15 #define INHIBIT_X11R6_XIM |
31947
44a6d62deb2b
Define REL_ALLOC_MMAP, not REL_ALLOC_MMAP.
Dave Love <fx@gnu.org>
parents:
29964
diff
changeset
|
16 |
44a6d62deb2b
Define REL_ALLOC_MMAP, not REL_ALLOC_MMAP.
Dave Love <fx@gnu.org>
parents:
29964
diff
changeset
|
17 #define USE_MMAP_FOR_BUFFERS 1 |