Minor edits + comment out unused popup vars (for later)

This commit is contained in:
Henrik Lissner 2017-12-30 01:25:24 -05:00
parent 5813b6e69a
commit 88946a893a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
;;;###autoload ;;;###autoload
(defun doom/sudo-find-file (file) (defun doom/sudo-find-file (file)
"Open a file as root." "Open FILE as root."
(interactive (interactive
(list (read-file-name "Open as root: "))) (list (read-file-name "Open as root: ")))
(find-file (if (file-writable-p file) (find-file (if (file-writable-p file)

View file

@ -87,13 +87,13 @@ recognized by DOOM's popup system. They are:
;; ;;
;; ;;
(defvar doom-popup-parameters ;; (defvar doom-popup-parameters
'(:esc :modeline :transient :fit :align :size) ;; '(:esc :modeline :transient :fit :align :size)
"TODO") ;; "TODO")
(defvar doom-popup-whitelist ;; (defvar doom-popup-whitelist
'(("^ ?\\*" :size 15 :noselect t :autokill t :autoclose t)) ;; '(("^ ?\\*" :size 15 :noselect t :autokill t :autoclose t))
"TODO") ;; "TODO")
(defvar doom-popup-blacklist (defvar doom-popup-blacklist
'("^\\*magit") '("^\\*magit")