diff options
| author | Richard Stallman | 2015-04-05 08:36:56 -0400 |
|---|---|---|
| committer | Richard Stallman | 2015-04-05 08:42:43 -0400 |
| commit | 4e23cd0ccde4ad1e14fe2870ccf140487af649b2 (patch) | |
| tree | b709ac1e92a892f6ec1faa85eb59a9e5960c25dd /lib/tempname.h | |
| parent | dca743f0941909a80e3f28c023977120b6203e20 (diff) | |
| parent | 16eec6fc55dcc05d1d819f18998e84a9580b2521 (diff) | |
| download | emacs-4e23cd0ccde4ad1e14fe2870ccf140487af649b2.tar.gz emacs-4e23cd0ccde4ad1e14fe2870ccf140487af649b2.zip | |
* mail/rmail.el (rmail-show-message-1): When displaying a mime message,
indicate start and finish in the echo area.
* mail/rmail.el (rmail-epa-decrypt): Disregard <pre> before armor.
Ignore more kinds of whitespace in mime headers.
Modify the decrypted mime part's mime type so it will be displayed
by default when visiting this message again.
* net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc.
(browse-url-firefox-arguments)
(browse-url-firefox-startup-arguments): Doc fix.
Diffstat (limited to 'lib/tempname.h')
| -rw-r--r-- | lib/tempname.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/tempname.h b/lib/tempname.h index b560ee5cb14..e6093607463 100644 --- a/lib/tempname.h +++ b/lib/tempname.h | |||
| @@ -32,6 +32,10 @@ | |||
| 32 | # define GT_NOCREATE 2 | 32 | # define GT_NOCREATE 2 |
| 33 | # endif | 33 | # endif |
| 34 | 34 | ||
| 35 | #ifdef __cplusplus | ||
| 36 | extern "C" { | ||
| 37 | #endif | ||
| 38 | |||
| 35 | /* Generate a temporary file name based on TMPL. TMPL must match the | 39 | /* Generate a temporary file name based on TMPL. TMPL must match the |
| 36 | rules for mk[s]temp (i.e. end in "XXXXXX", possibly with a suffix). | 40 | rules for mk[s]temp (i.e. end in "XXXXXX", possibly with a suffix). |
| 37 | The name constructed does not exist at the time of the call to | 41 | The name constructed does not exist at the time of the call to |
| @@ -47,4 +51,15 @@ | |||
| 47 | We use a clever algorithm to get hard-to-predict names. */ | 51 | We use a clever algorithm to get hard-to-predict names. */ |
| 48 | extern int gen_tempname (char *tmpl, int suffixlen, int flags, int kind); | 52 | extern int gen_tempname (char *tmpl, int suffixlen, int flags, int kind); |
| 49 | 53 | ||
| 54 | /* Similar to gen_tempname, but TRYFUNC is called for each temporary | ||
| 55 | name to try. If TRYFUNC returns a non-negative number, TRY_GEN_TEMPNAME | ||
| 56 | returns with this value. Otherwise, if errno is set to EEXIST, another | ||
| 57 | name is tried, or else TRY_GEN_TEMPNAME returns -1. */ | ||
| 58 | extern int try_tempname (char *tmpl, int suffixlen, void *args, | ||
| 59 | int (*tryfunc) (char *, void *)); | ||
| 60 | |||
| 61 | #ifdef __cplusplus | ||
| 62 | } | ||
| 63 | #endif | ||
| 64 | |||
| 50 | #endif /* GL_TEMPNAME_H */ | 65 | #endif /* GL_TEMPNAME_H */ |