Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replace an ugly cond with unless

  • Loading branch information...
commit 005e5d012edd17b18a08a569e145b0e09405de9d 1 parent a699fb1
@purcell authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 init-common-lisp.el
View
6 init-common-lisp.el
@@ -1,9 +1,9 @@
;; See http://bc.tech.coop/blog/070927.html
(add-auto-mode 'lisp-mode "\\.cl\\'")
(add-hook 'lisp-mode-hook (lambda ()
- (cond ((not (featurep 'slime))
- (require 'slime)
- (normal-mode)))))
+ (unless (featurep 'slime)
+ (require 'slime)
+ (normal-mode))))
(eval-after-load 'slime
'(progn
Please sign in to comment.
Something went wrong with that request. Please try again.