It turned out that I was using emacs version 24.5.1, which has a bug that caused the wrong paste indent.
The solution to it:
Install Emacs 25.3 by using the following command:
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt remove --purge emacs24
sudo apt install emacs25
No comments:
Post a Comment