mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
Fix extract-rectangle-line wholenump error
This commit is contained in:
@@ -84,6 +84,13 @@
|
||||
(when (minibuffer-window-active-p (minibuffer-window))
|
||||
(narf-minibuffer-quit)))
|
||||
|
||||
;; Monkey-patch an error triggered randomly during column-selection caused
|
||||
;; by `extract-rectangle-line' receiving a float:
|
||||
;; evil-move-to-column: Wrong type argument: wholenump, 12.0
|
||||
(defun narf*evil-extract-rectangle-line-fix (args)
|
||||
(mapcar (lambda (i) (if (numberp i) (truncate i) i)) args))
|
||||
(advice-add 'extract-rectangle-line :filter-args 'narf*evil-extract-rectangle-line-fix)
|
||||
|
||||
;; buffer-local ex commands, thanks to:
|
||||
;; http://emacs.stackexchange.com/questions/13186
|
||||
(defun evil-ex-define-cmd-local (cmd function)
|
||||
|
@@ -29,6 +29,7 @@ buffer to display.")
|
||||
"*Buffer List*" "*Ibuffer*" "*esh command on file*"
|
||||
"*WoMan-Log*" "*compilation*" "*use-package*"
|
||||
"*quickrun*" "*eclim: problems*" "*Flycheck errors*"
|
||||
"*popwin-dummy*"
|
||||
;; Helm
|
||||
"*helm*" "*helm recentf*" "*helm projectile*" "*helm imenu*"
|
||||
"*helm company*" "*helm buffers*" "*Helm Css SCSS*"
|
||||
|
Reference in New Issue
Block a user