Add attribution to isearch C-RET

This commit is contained in:
Gergely Polonkai 2016-10-20 14:17:30 +02:00
parent 31f34697e3
commit 56b86979af

View File

@ -637,6 +637,9 @@
(define-key isearch-mode-map (kbd "<C-return>") (define-key isearch-mode-map (kbd "<C-return>")
#'isearch-exit-other-end) #'isearch-exit-other-end)
;; Kudos goes to
;; http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html
(defun isearch-exit-other-end () (defun isearch-exit-other-end ()
"Exit isearch, at the opposite end of the string" "Exit isearch, at the opposite end of the string"
(interactive) (interactive)