From: Andreas Gerler Date: Fri, 2 Sep 2022 06:59:42 +0000 (+0200) Subject: comint-input-ignoredups X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=c8f42e964c45d4eb56fb11dafe43ec7075fbfd8e;p=emacsconfig.git comint-input-ignoredups Signed-off-by: Andreas Gerler --- 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