summaryrefslogtreecommitdiff
path: root/embark-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'embark-conf.el')
-rw-r--r--embark-conf.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/embark-conf.el b/embark-conf.el
index d03b5bc..ce09e52 100644
--- a/embark-conf.el
+++ b/embark-conf.el
@@ -24,9 +24,11 @@
(define-key embark-general-map (vector ?v) (lambda (&rest _args)
(interactive)
- (cond
- ((buffer-file-name)
- (view-file (buffer-file-name))))))
+ (view-mode)
+ ;; (cond
+ ;; ((buffer-file-name)
+ ;; (view-file (buffer-file-name))))
+ ))
(define-key embark-general-map (vector 127) #'durand-switch-other-buffer)
;;;###autoload