More consistent naming.

This commit is contained in:
Magnar Sveen
2012-07-20 15:07:43 +02:00
parent 7ab8a8c977
commit 0bfd611151
2 changed files with 16 additions and 14 deletions

View File

@@ -2,11 +2,8 @@
(lambda ()
(delete-selection-mode 1)))
(defun is-extra-cursor-p (o)
(eq (overlay-get o 'type) 'additional-cursor))
(defun num-cursors ()
(1+ (count-if 'is-extra-cursor-p
(1+ (count-if 'mc/fake-cursor-p
(overlays-in (point-min) (point-max)))))
(Then "^I should have \\([0-9]+\\) cursors$"