From c8f42e964c45d4eb56fb11dafe43ec7075fbfd8e Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 2 Sep 2022 08:59:42 +0200 Subject: [PATCH] comint-input-ignoredups Signed-off-by: Andreas Gerler --- bba.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bba.org b/bba.org index 19046ff6..87989376 100644 --- a/bba.org +++ b/bba.org @@ -1362,6 +1362,17 @@ Get reveal.js as well: (define-key org-mode-map "\M-\S-w" 'bba-ox-clip-formatted-copy) #+END_SRC + +** comint +[2022-02-25 Fri 11:49] + +remove duplicates in modes like sqli. + +#+begin_src emacs-lisp + (add-hook 'comint-mode-hook + '(lambda () (setq comint-input-ignoredups t))) +#+end_src + ** comint-write-buffer [2018-01-09 Tue 14:10] #+BEGIN_SRC emacs-lisp -- 2.47.3