Skip to content

Commit ad4fae8

Browse files
committed
Don't require Common Lisp extensions at run time
Following Lisp Coding Conventins (Coding Conventions(elisp)), to avoid name conlicts, we should change (require 'cl) to (eval-when-compile (require 'cl)) Thanks to Shigeru Fukaya for pointing this out.
1 parent efe1f05 commit ad4fae8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

markdown-mode.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@
366366
;; escape shell commands.
367367
;; * Christopher J. Madsen <[email protected]> for patches to fix a match
368368
;; data bug and to prefer `visual-line-mode' in `gfm-mode'.
369+
;; * Shigeru Fukaya <[email protected]> for better adherence to
370+
;; Emacs Lisp coding conventions.
369371

370372
;;; Bugs:
371373

@@ -403,7 +405,7 @@
403405

404406
(require 'easymenu)
405407
(require 'outline)
406-
(require 'cl)
408+
(eval-when-compile (require 'cl))
407409

408410
;;; Constants =================================================================
409411

0 commit comments

Comments
 (0)