From 96d038c44a1ef26892adf4b775d1e2efe9e7b44b Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 16 Jan 2021 14:04:07 +0800 Subject: The first stable version Fixes: Avoid adding suffix-link repeatedly * embark-conf.el ("embark"): Use view-mode instead of view-file * init.el (load-after-function): Modify the macro so that it no longer redefines built-in functions. (global-map): ("view-conf.el"): Rename view-functions.el to view-conf.el * suffix tree/generalized-suffix-tree.el (gst-edge-length): (gst-add-suffix-link): (gst-canonize): (gst-extend-tree): (gst-build-for-strs): Fixed the bug. * suffix tree/gst debugging platform.txt (strs): Add a new debugging file * suffix tree/gst test ground (2).txt (strs): Do more debugging * tab-conf.el (durand-switch-tab-dwim): Add my own dwim tab function. (global-map): Bind it to the global map. * theme.el Update the modus-themes. * view-conf.el Rename view-functions.el to view-conf.el. --- embark-conf.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'embark-conf.el') 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 -- cgit v1.2.3-18-g5258