Skip to content

Commit

Permalink
Disable some stuff that doesn't work well on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Jul 26, 2019
1 parent f3cd61b commit d9d0a65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/ublt-dvorak.el
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@

;;; TODO: Put this in `ublt-appearance'.
(use-package hydra
:custom (hydra-hint-display-type (if window-system 'posframe 'lv))
:custom (hydra-hint-display-type (if (memq window-system '(mac ns)) 'posframe 'lv))
:config
(setq-default hydra-posframe-show-params
(list :internal-border-width 1
Expand Down
2 changes: 1 addition & 1 deletion config/ublt-helm.el
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ all of the sources."
(with-helm-buffer
(setq-local helm-echo-input-in-header-line t)))

(when window-system
(when (memq window-system '(mac ns))
(setq helm-display-function #'helm-display-buffer-in-own-frame)

(add-to-list 'helm-commands-using-frame #'helm-swoop)
Expand Down
1 change: 1 addition & 0 deletions config/ublt-rust.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(require 'ublt-util)

(use-package exec-path-from-shell
:when (memq system-type '(darwin gnu/linux))
:config (exec-path-from-shell-copy-envs '("RUST_SRC_PATH" "RUSTC_WRAPPER")))

(use-package rust-mode
Expand Down
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@

;;; Uhm, f*ck shell
(use-package exec-path-from-shell
:when (member system-type '(gnu/linux darwin))
:config (exec-path-from-shell-initialize))

;;; General usability
Expand Down

0 comments on commit d9d0a65

Please sign in to comment.