It is convention that when distinguished from a revolver, a pistol refers to a semi-automatic handgun.
Couldn’t a pistol also be a firelock, matchlock, flintlock, percussion cap, or any number of single and double barreled modern guns?