Emacs-D-Mode-Maintainers / Emacs-D-Mode

An Emacs mode for D code.
GNU General Public License v3.0
84 stars 22 forks source link

Update auto-mode-alist when run from init file (fixes #88) #89

Closed ssb22 closed 6 years ago

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.598% when pulling 2a3139ecab292fb52626ae833cd8971401682a9e on ssb22:master into 09745ba713e08a02fd81c01824aefa6731992a6f on Emacs-D-Mode-Maintainers:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.598% when pulling 2a3139ecab292fb52626ae833cd8971401682a9e on ssb22:master into 09745ba713e08a02fd81c01824aefa6731992a6f on Emacs-D-Mode-Maintainers:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.598% when pulling 18c305569b2240abaefe890a95efdbb418abf986 on ssb22:master into 09745ba713e08a02fd81c01824aefa6731992a6f on Emacs-D-Mode-Maintainers:master.

ssb22 commented 6 years ago

It shouldn't be, now that we run the add-to-list ourselves.

CyberShadow commented 6 years ago

Nothing in the file or autoloads will be evaluated if the user isn't either letting package.el manage autoloads or loading the file explicitly. That's the point of autoload.

ssb22 commented 6 years ago

Ah, I somehow didn't notice it was saying autoload not load. In that case I'll revert that part of the pull request. I still think it's a good idea to have the newline to support loading the file explicitly.

CyberShadow commented 6 years ago

Thanks, merged.