From bcf7e7a528620f830c54ec2ad9457acf1259416b Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Thu, 20 Jul 2023 17:30:07 +0000 Subject: [PATCH] Ignore input in the fringe and nil areas * lisp/fringe.el: Add global key bindings to ignore clicks in the left-fringe, right-fringe, and nil areas. --- lisp/fringe.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/fringe.el b/lisp/fringe.el index b5ab4f9f605..f5a85365a89 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el @@ -336,6 +336,10 @@ options to pick a fringe bitmap." (put symbol 'fringe (get value 'fringe)) (force-window-update))) +(global-set-key [left-fringe] #'ignore) +(global-set-key [right-fringe] #'ignore) +(global-set-key [nil] #'ignore) + (provide 'fringe) ;;; fringe.el ends here -- 2.41.0