Version: 21.2.38
Platform: SCO 5.0.2, gcc 2.95.2
M-x load-module sample
(sample-function) works, but (documentation 'sample-function) returns
nil.
C-h f sample-function
Signaling: (wrong-type-argument stringp nil)
string-match("[\n ]*\narguments: ?(\\(.*\\))\n?\\'" nil)
function-arglist(sample-function)
describe-function-1(sample-function)
#<compiled-function nil "...(10)" [describe-function-1 function
buffer-string nil standard-output] 4>()
with-displaying-help-buffer(#<compiled-function nil "...(10)"
[describe-function-1 function buffer-string nil standard-output] 4> "function
`sample-function'")
#<compiled-function (function) "...(8)" [with-displaying-help-buffer
#<compiled-function nil "...(10)" ... 4> format "function
`%s'" function] 5 868529 (let* (... ...) (list ...))>(sample-function)
call-interactively(describe-function)
Show replies by date
Doc strings used to be unavailable because ${modname}_i.c used not to
be created correctly. It is (partly) my fault. Usually my xemacs
build dir is not the same as source.
But look how `*_i.o' generation step works:
ELLMAKEDOC=../../lib-src/make-docfile ../../lib-src/ellcc --mode=init
--mod-output=sample_i.c \
--mod-name=sample --mod-version=1.0.0 \
--mod-title="Sample loadable module" sample.c
sample.c: No such file or directory
../../lib-src/ellcc -I. -I../../../xemacs-21.2/modules/sample -I../../src
-I../../../xemacs-21.2/src -c sample_i.c
`*_i.c' generator prints error msg, but its exit status is still OK,
so make continues as if nothing happened, and error may be noticed
only lately, on attempt to run a module.