aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/gnus-ems.el19
-rw-r--r--lisp/gnus/gnus-spec.el19
2 files changed, 20 insertions, 18 deletions
diff --git a/lisp/gnus/gnus-ems.el b/lisp/gnus/gnus-ems.el
index d25213a1986..167bc8083c6 100644
--- a/lisp/gnus/gnus-ems.el
+++ b/lisp/gnus/gnus-ems.el
@@ -104,24 +104,7 @@
104 ;; It is possible to detect XEmacs/mule by (featurep 'mule) and 104 ;; It is possible to detect XEmacs/mule by (featurep 'mule) and
105 ;; (featurep 'xemacs). In this case, the implementation for 105 ;; (featurep 'xemacs). In this case, the implementation for
106 ;; XEmacs/mule may be shareable between XEmacs and XEmacs/mule. 106 ;; XEmacs/mule may be shareable between XEmacs and XEmacs/mule.
107 107 )))
108 (defun gnus-summary-line-format-spec ()
109 (insert gnus-tmp-unread gnus-tmp-replied
110 gnus-tmp-score-char gnus-tmp-indentation)
111 (put-text-property
112 (point)
113 (progn
114 (insert
115 gnus-tmp-opening-bracket
116 (format "%4d: %-20s"
117 gnus-tmp-lines
118 (if (> (length gnus-tmp-name) 20)
119 (truncate-string-to-width gnus-tmp-name 20)
120 gnus-tmp-name))
121 gnus-tmp-closing-bracket)
122 (point))
123 gnus-mouse-face-prop gnus-mouse-face)
124 (insert " " gnus-tmp-subject-or-nil "\n")))))
125 108
126(provide 'gnus-ems) 109(provide 'gnus-ems)
127 110
diff --git a/lisp/gnus/gnus-spec.el b/lisp/gnus/gnus-spec.el
index 2176e3fe34d..87b9b254e00 100644
--- a/lisp/gnus/gnus-spec.el
+++ b/lisp/gnus/gnus-spec.el
@@ -727,6 +727,25 @@ If PROPS, insert the result."
727 (symbol-value (intern (format "gnus-%s-line-format-alist" type))) 727 (symbol-value (intern (format "gnus-%s-line-format-alist" type)))
728 insertable))) 728 insertable)))
729 729
730
731 (defun gnus-summary-line-format-spec ()
732 (insert gnus-tmp-unread gnus-tmp-replied
733 gnus-tmp-score-char gnus-tmp-indentation)
734 (put-text-property
735 (point)
736 (progn
737 (insert
738 gnus-tmp-opening-bracket
739 (format "%4d: %-20s"
740 gnus-tmp-lines
741 (if (> (length gnus-tmp-name) 20)
742 (truncate-string-to-width gnus-tmp-name 20)
743 gnus-tmp-name))
744 gnus-tmp-closing-bracket)
745 (point))
746 gnus-mouse-face-prop gnus-mouse-face)
747 (insert " " gnus-tmp-subject-or-nil "\n"))
748
730(provide 'gnus-spec) 749(provide 'gnus-spec)
731 750
732;; Local Variables: 751;; Local Variables: