]> code.delx.au - gnu-emacs-elpa/commitdiff
swiper.el (swiper--candidates): Always remove '(field)
authorOleh Krehel <ohwoeowho@gmail.com>
Mon, 21 Mar 2016 13:18:53 +0000 (14:18 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Mon, 21 Mar 2016 13:18:53 +0000 (14:18 +0100)
swiper.el

index 366b6282dffa82892f77c7922b7707a8c45f8a17..6eb433fb14778d41d6fc4629015359cce856d1b1 100644 (file)
--- a/swiper.el
+++ b/swiper.el
@@ -294,8 +294,7 @@ numbers; replaces calculating the width from buffer line count."
                            (buffer-substring
                             (point)
                             (line-end-position)))))))
-              (when (eq major-mode 'twittering-mode)
-                (remove-text-properties 0 (length str) '(field) str))
+              (remove-text-properties 0 (length str) '(field) str)
               (put-text-property 0 1 'display
                                  (format swiper--format-spec
                                          (cl-incf line-number))