]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
comint-input-ignoredups
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 2 Sep 2022 06:59:42 +0000 (08:59 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 2 Sep 2022 06:59:42 +0000 (08:59 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 19046ff66ca04ff9259012d2596b5d3ade3e2a1a..87989376e2dd7e14d0a60026dad2a4eea49ea31a 100644 (file)
--- 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