poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix the location of nodelist to match recent changes.


From: Jose E. Marchesi
Subject: Re: [PATCH] Fix the location of nodelist to match recent changes.
Date: Sun, 12 Apr 2020 15:46:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi John.

    Commit 98bedb67bf5dfe443d608312b272dc006f3a2c4e changed the value of 
POKE_DATADIR
    Unfortunately it did not update the users to match.  Consequently tab 
completion
    for the .doc command stopped working.  This change fixes that.

OK for master.
Thanks!

    ---
     doc/Makefile.am              | 5 +++--
     testsuite/poke.repl/repl.exp | 5 +++++
     2 files changed, 8 insertions(+), 2 deletions(-)
    
    diff --git a/doc/Makefile.am b/doc/Makefile.am
    index 33cfc714..4d0f1f64 100644
    --- a/doc/Makefile.am
    +++ b/doc/Makefile.am
    @@ -30,13 +30,14 @@ pvm-insns.texi: $(top_srcdir)/lib/pvm.jitter 
$(srcdir)/gen-pvm-insns.sh
     # work around some limitations of readline.
     # Look for the macro SPACE_SUBSTITUTE in pk-repl.c to see how this
     # is used.
    -$(top_srcdir)/src/nodelist: $(srcdir)/poke.info
    +$(top_srcdir)/lib/nodelist: $(srcdir)/poke.texi
        chmod u+w ${dir $@}
        $(SED) -n -e 's/^\* \([^:]*\)::.*/\1/p' $< | $(SED) -e 's| |/|g' > $@
    +   test -s $@ || $(RM) $@
     
     INFO_DEPS = $(srcdir)/poke.info
     
    -pkgdata_DATA = $(top_srcdir)/src/nodelist
    +pkgdata_DATA = $(top_srcdir)/lib/nodelist
     
     clean-local:
        rm -f pvm-insns.texi
    diff --git a/testsuite/poke.repl/repl.exp b/testsuite/poke.repl/repl.exp
    index 22a29080..1e28f265 100644
    --- a/testsuite/poke.repl/repl.exp
    +++ b/testsuite/poke.repl/repl.exp
    @@ -45,3 +45,8 @@ set test "tab-completion-subcommand-1"
     poke_start
     poke_send ".set oba\t" ".set obase"
     poke_exit
    +
    +set test "tab-completion-subcommand-2"
    +poke_start
    +poke_send ".doc Struct Co\t\t" "\r\nStruct Comparison    Struct 
Constructors"
    +poke_exit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]