Load ligature if display-graphic-p t
This commit is contained in:
parent
a8a924c41b
commit
37a1e6efc7
1 changed files with 25 additions and 24 deletions
3
init.el
3
init.el
|
@ -1873,6 +1873,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
;; (append '((restclient . t)) org-babel-load-languages))
|
||||
|
||||
;; This assumes you've installed the package via MELPA.
|
||||
(if (display-graphic-p)
|
||||
(use-package ligature
|
||||
:config
|
||||
;; Enable the "www" ligature in every possible major mode
|
||||
|
@ -1896,7 +1897,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
"\\\\" "://" "++"))
|
||||
;; Enables ligature checks globally in all buffers. You can also do it
|
||||
;; per mode with `ligature-mode'.
|
||||
(global-ligature-mode t))
|
||||
(global-ligature-mode t)))
|
||||
|
||||
(let ((bundle-dir (expand-file-name "~/.emacs.d/bundle/")))
|
||||
(when (file-directory-p bundle-dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue