I've compiled the last emacs version from the source code (v24.2) because the version installed on my machine is (quite) old for me (v21.3). I've done the usual:
$configure --prefix=$HOME
make
make install
Now I am testing emacs and realized that it still launches the previous version ... while my $HOME/bin
path is supposed to override the system one (since it is prepended to $PATH in my .bashrc
file).
My first thought was to see the which
command output. And surprise, it gives the path to the new emacs. I can't understand where is the discrepancy here. In the same session here is the different outputs:
$ emacs --version
GNU Emacs 21.3.1
$ `which emacs` --version
GNU Emacs 24.2.1
I have no alias involving emacs. At all.
$ alias | grep emacs
$
Any idea what is going on please?