emacs: fix nil file-name-handler-alist after reloading init
authorAmin Bandali <bandali@gnu.org>
Wed, 15 May 2019 00:35:06 +0000 (20:35 -0400)
committerAmin Bandali <bandali@gnu.org>
Wed, 15 May 2019 00:35:06 +0000 (20:35 -0400)
commit9f7db1e88b102c1bfd696096fcc6452ffc124573
tree924232a9d85c36f443f6ba100c45364d914525ed
parent34c6cf4cacc185bf961bd191f6fbddffe6144261
emacs: fix nil file-name-handler-alist after reloading init

This problem would cause emacs to not treat files like *.gpg
or *.el.gz especially before displaying them, as it normally does.

So now, I update a/file-name-handler-alist with the latest contents of
file-name-handler-alist before loading the init file, and afterwards I
restore things back to normal (done in a/post-init).
.emacs.d/init.el