branch: externals/wrap-search
commit 982f8941af5993721bc899de2efccb4026276441
Author: Emanuel Berg <[email protected]>
Commit: Emanuel Berg <[email protected]>

    Tue Apr  9 01:25:34 PM CEST 2024
---
 wrap-search.el | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/wrap-search.el b/wrap-search.el
index 72f21addeb..ab70a19d67 100644
--- a/wrap-search.el
+++ b/wrap-search.el
@@ -7,7 +7,7 @@
 ;; Keywords: matching
 ;; License: GPL3+
 ;; URL: https://dataswamp.org/~incal/emacs-init/wrap-search.el
-;; Version: 4.12.10
+;; Version: 4.14.10
 ;;
 ;; This file is part of GNU Emacs.
 ;;
@@ -46,6 +46,27 @@
 ;;   (global-set-key "\C-s" #'wrap-search)
 ;;   (global-set-key "\C-r" #'wrap-search-again)
 ;;
+;; One can use the `universal-argument' key, which is
+;; typically C-u, before those functions to set two search
+;; options before the search. If we assume the above keys are
+;; used, then, for `wrap-search', here are the keys and what
+;; they do,
+;;
+;;         C-u C-s  do case-sensitive search
+;;     C-u C-u C-s  do revere search, direction north from point
+;; C-u C-u C-u C-s  do case-sensitive, reverse search
+;;
+;; and for `wrap-search-again', using a corresponding interface
+;;
+;;         C-u C-r  reverse previous search case-sensitive setting
+;;     C-u C-u C-r  reverse previous search reverse setting
+;; C-u C-u C-u C-r  reverse previous search case-sensitive and reverse settings
+;;
+;; and the search is done again, with those settings.
+;;
+;; See the docstrings for `wrap-search' and
+;; `wrap-search-again'.
+;;
 ;;; Code:
 
 (let ((prev-str "dummy search string")

Reply via email to