Remove read-only-mode vuiet hack

This commit is contained in:
Jeremy Dormitzer 2020-04-07 09:52:55 -04:00
parent 0ced3370f3
commit b65fd1fc35

View File

@ -5799,8 +5799,6 @@ A music browser and player:
:defer t :defer t
:config :config
(defun vuiet-mode-setup () (defun vuiet-mode-setup ()
;; This is a hacky hack...
(run-at-time 1 nil #'read-only-mode)
(set (make-local-variable 'org-link-elisp-confirm-function) (set (make-local-variable 'org-link-elisp-confirm-function)
nil)) nil))
(add-hook 'vuiet-mode-hook #'vuiet-mode-setup) (add-hook 'vuiet-mode-hook #'vuiet-mode-setup)