mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 11:49:37 +00:00
Make diminish a soft dependency, as delight already was
Fixes https://github.com/jwiegley/use-package/issues/493
This commit is contained in:
parent
7531c374bf
commit
2c32857d57
1 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
;; Created: 17 Jun 2012
|
;; Created: 17 Jun 2012
|
||||||
;; Modified: 17 Oct 2016
|
;; Modified: 17 Oct 2016
|
||||||
;; Version: 2.3
|
;; Version: 2.3
|
||||||
;; Package-Requires: ((bind-key "1.0") (diminish "0.44"))
|
;; Package-Requires: ((bind-key "1.0"))
|
||||||
;; Keywords: dotemacs startup speed config package
|
;; Keywords: dotemacs startup speed config package
|
||||||
;; URL: https://github.com/jwiegley/use-package
|
;; URL: https://github.com/jwiegley/use-package
|
||||||
|
|
||||||
|
@ -41,8 +41,6 @@
|
||||||
|
|
||||||
(require 'bind-key)
|
(require 'bind-key)
|
||||||
(require 'bytecomp)
|
(require 'bytecomp)
|
||||||
(require 'diminish nil t)
|
|
||||||
(require 'bytecomp)
|
|
||||||
(eval-when-compile (require 'cl))
|
(eval-when-compile (require 'cl))
|
||||||
(eval-when-compile (require 'regexp-opt))
|
(eval-when-compile (require 'regexp-opt))
|
||||||
|
|
||||||
|
@ -1607,7 +1605,8 @@ deferred until the prefix key sequence is pressed."
|
||||||
(let ((body (use-package-process-keywords name rest state)))
|
(let ((body (use-package-process-keywords name rest state)))
|
||||||
(use-package-concat
|
(use-package-concat
|
||||||
body
|
body
|
||||||
`((delight '(,@args))))))
|
`((if (fboundp 'delight)
|
||||||
|
(delight '(,@args)))))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue