Fixed a bug on Linux Emacs

[1/4]: Fixes a bug in Linux Emacs.
[2/4], [3/4], [4/4]: Simple cosmetic changes.