• How to update emacs-version?

    From Henry S. Thompson@21:1/5 to All on Wed Mar 20 15:35:02 2024
    After doing a pull -u that doesn't change much, and a make that
    succeeds, the result doesn't have an up-to-date value for
    emacs-version.

    The only way I've found to reliably get that updated is to do
    make distclean
    make
    which feels like using a sledgehammer to swat a fly.

    Surely there's a simpler/quicker way?

    Thanks,

    ht
    --
    Henry S. Thompson

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aidan Kehoe@21:1/5 to All on Wed Mar 20 16:43:46 2024
    Ar an fichiú lá de mí Márta, scríobh Henry S. Thompson:

    After doing a pull -u that doesn't change much, and a make that
    succeeds, the result doesn't have an up-to-date value for
    emacs-version.

    The only way I've found to reliably get that updated is to do
    make distclean
    make
    which feels like using a sledgehammer to swat a fly.

    Surely there's a simpler/quicker way?

    The following should do it:

    rm lisp/version.elc
    make

    By rights emacs-version should be in emacs.c rather than version.el for this reason, thanks for that.

    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)