2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * gnus-spec.el (gnus-lrm-string): Use 8206 instead of ?\x200e to make
+ things work in Emacs 22 and XEmacs, too.
+
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): LRM-ify the
default From.
(header gnus-tmp-from))
(defmacro gnus-lrm-string-p (string)
- `(eq (aref ,string (1- (length ,string))) ?\x200e))
+ (if (fboundp 'string-mark-left-to-rigth)
+ `(eq (aref ,string (1- (length ,string))) 8206)
+ nil))
-(defvar gnus-lrm-string (propertize (string ?\x200e) 'invisible t))
+(defvar gnus-lrm-string (if (ignore-errors (string 8206))
+ (propertize (string 8206) 'invisible t)
+ ""))
(defun gnus-summary-line-format-spec ()
(insert gnus-tmp-unread gnus-tmp-replied