annotate oldXMenu/Error.c @ 64634:4045a1b1a5c9

(bookmark-automatically-show-annotations, bookmark-read-annotation-text-func): Doc fixes. (bookmark-save): Improve argument/docstring consistency. (bookmark-get-bookmark, bookmark-get-bookmark-record, bookmark-alist-from-buffer, bookmark-upgrade-file-format-from-0, bookmark-grok-file-format-version, bookmark-maybe-upgrade-file-format, bookmark-kill-line, bookmark-read-annotation-mode, bookmark-insert-current-bookmark, bookmark-jump, bookmark-exit-hook): Fix typos in docstrings. (bookmark-exit-hooks): Define as obsolete alias. (bookmark-exit-hook-internal): Run `bookmark-exit-hook', not `bookmark-exit-hooks'. Fix docstring. (bookmark-bmenu-select): "?\ " -> "?\s".
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 26 Jul 2005 13:53:45 +0000
parents e8824c4f5f7e
children 3861ff8f4bf1 8e5779acd195
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #include "copyright.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2
Dave Love <fx@gnu.org>
parents:
diff changeset
3 /* Copyright Massachusetts Institute of Technology 1985 */
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 /*
Dave Love <fx@gnu.org>
parents:
diff changeset
6 * XMenu: MIT Project Athena, X Window system menu package
Dave Love <fx@gnu.org>
parents:
diff changeset
7 *
Dave Love <fx@gnu.org>
parents:
diff changeset
8 * XMenuError - Returns a string description of the current
Dave Love <fx@gnu.org>
parents:
diff changeset
9 * XMenu error status flag.
Dave Love <fx@gnu.org>
parents:
diff changeset
10 *
Dave Love <fx@gnu.org>
parents:
diff changeset
11 * Author: Tony Della Fera, DEC
Dave Love <fx@gnu.org>
parents:
diff changeset
12 * August, 1985
Dave Love <fx@gnu.org>
parents:
diff changeset
13 *
Dave Love <fx@gnu.org>
parents:
diff changeset
14 */
Dave Love <fx@gnu.org>
parents:
diff changeset
15
Dave Love <fx@gnu.org>
parents:
diff changeset
16 #include "XMenuInt.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
17
Dave Love <fx@gnu.org>
parents:
diff changeset
18 char *
Dave Love <fx@gnu.org>
parents:
diff changeset
19 XMenuError()
Dave Love <fx@gnu.org>
parents:
diff changeset
20 {
Dave Love <fx@gnu.org>
parents:
diff changeset
21 static char message[128]; /* Error message buffer. */
Dave Love <fx@gnu.org>
parents:
diff changeset
22
Dave Love <fx@gnu.org>
parents:
diff changeset
23 if ((_XMErrorCode < XME_CODE_COUNT) && (_XMErrorCode >= 0)) {
Dave Love <fx@gnu.org>
parents:
diff changeset
24 return(_XMErrorList[_XMErrorCode]);
Dave Love <fx@gnu.org>
parents:
diff changeset
25 }
Dave Love <fx@gnu.org>
parents:
diff changeset
26 sprintf(message, "Unknown _XMErrorCode: %d", _XMErrorCode);
Dave Love <fx@gnu.org>
parents:
diff changeset
27 return(message);
Dave Love <fx@gnu.org>
parents:
diff changeset
28 }
Dave Love <fx@gnu.org>
parents:
diff changeset
29
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
30 /* arch-tag: 5fff4a23-40ca-40d0-8887-c50fc73dea9d
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
31 (do not change this comment) */