From 20f73b0beebc71466b7be0dea537ab05e8f7be5c Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 26 Dec 2021 14:47:32 +0800 Subject: Use defalias rather than fset * common.el (durand-display-in-one-window) (durand-completion-scroll-up-or-go-to-minibuffer) (intentionally-disabled-bind): * completion-conf.el (durand-completion-toggle-display): * eww-conf.el (global-map): defalias has the advantage that one can find the file of the definition from the help buffer while fset cannot. --- eww-conf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eww-conf.el') diff --git a/eww-conf.el b/eww-conf.el index 23619e4..284f2b7 100644 --- a/eww-conf.el +++ b/eww-conf.el @@ -46,7 +46,7 @@ If ARG is nil, open in EWW. Otherwise, open in an external browser." ;; key-bindings -(define-key global-map (vector ?\s-w) #'durand-eww-map) +(define-key global-map (vector ?\s-w) 'durand-eww-map) ;;;###autoload (fset 'durand-eww-map -- cgit v1.2.3-18-g5258