Bläddra i källkod

Do not quit ivy cmpl when there is no text left to delete

master
10sr 4 år sedan
förälder
incheckning
157db25259
Signerad av: 10sr GPG-nyckel ID: 7BEC428194130EB2
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Visa fil

@@ -1310,7 +1310,7 @@ Otherwize hook it."
(lambda ()
(setq imenu-generic-expression
`(("Sections" ";;;\+\n;; \\(.*\\)\n" 1)
,@imenu-generic-expression))))
,@imenu-generic-expression))))
;; TODO: Try paraedit http://daregada.blogspot.com/2012/03/paredit.html

(with-eval-after-load 'compile
@@ -2574,6 +2574,7 @@ Any output will be written to current buffer."
(defvar ivy-minibuffer-map)
(define-key ivy-minibuffer-map (kbd "C-u")
(lambda () (interactive) (delete-region (point-at-bol) (point)))))
(set-variable 'ivy-on-del-error-function 'ignore)

(when (fboundp 'counsel-M-x)
(define-key esc-map "x" 'counsel-M-x)


Laddar…
Avbryt
Spara