I'm not quite sure that's what I saw in the last scene of The Man Who Shot Liberty Valance, but it seemed that Jimmy Stewart's character was about to light a pipe when the conductor interrupts him.
His hand movements seemed different from when he lit cigars earlier in the movie, more like...