* gnus-cite.el (gnus-article-natural-long-line-p): Removed.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 2 Nov 2010 19:41:47 +0000 (20:41 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 2 Nov 2010 19:41:47 +0000 (20:41 +0100)
lisp/ChangeLog
lisp/gnus-cite.el

index b4118e0..069c6bb 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-cite.el (gnus-article-natural-long-line-p): Removed.
+
 2010-11-02  Julien Danjou  <julien@danjou.info>
 
        * nnir.el: Remove wais support.
index 69d6436..aa71907 100644 (file)
@@ -592,24 +592,6 @@ longer than the frame width."
         ;; like code?  Check for ragged edges on the left.
         (< (length columns) 3))))
 
-(defun gnus-article-natural-long-line-p ()
-  "Return true if the current line is long, and it's natural text."
-  (save-excursion
-    (beginning-of-line)
-    (and
-     ;; The line is long.
-     (> (- (line-end-position) (line-beginning-position))
-       (window-width))
-     ;; It doesn't start with spaces.
-     (not (looking-at "    "))
-     ;; Not cited text.
-     (let ((line-number (1+ (count-lines (point-min) (point))))
-          citep)
-       (dolist (elem gnus-cite-prefix-alist)
-        (when (member line-number (cdr elem))
-          (setq citep t)))
-       (not citep)))))
-
 (defun gnus-article-hide-citation (&optional arg force)
   "Toggle hiding of all cited text except attribution lines.
 See the documentation for `gnus-article-highlight-citation'.