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

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

void-function set-difference error #23

Closed swsnr closed 9 years ago

swsnr commented 10 years ago

D Mode uses set-difference from cl without requiring cl, which causes a void-function error if cl is not loaded.

You need a (require 'cl).

russel commented 10 years ago

I have put a

(require 'cl)

at the beginning of d-mode.el immediately after the

(require 'cc-mode)

I guess that should cover things.

russel commented 9 years ago

I am closing this issue as I believe changeset a6121058474c550e9626eba5bc47650be89bb990 fixes the issue as reported. Please feel free to reopen if this is not, in fact, the case.

aestiff commented 8 years ago

This issue seems to have crept back into the codebase. I was getting the same problems on compilation this weekend, and was able to correct it by inserting the (require 'cl) in d-mode.el locally.