projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3347a96
)
message.el (message-insert-formatted-citation-line): handle case I broke - LASTNAME...
author
Adam Sjøgren
<asjo@koldfront.dk>
Sun, 19 May 2013 18:59:23 +0000
(20:59 +0200)
committer
Adam Sjøgren
<asjo@koldfront.dk>
Sun, 19 May 2013 19:01:15 +0000
(21:01 +0200)
lisp/message.el
patch
|
blob
|
history
diff --git
a/lisp/message.el
b/lisp/message.el
index
2374314
..
ca1a2e6
100644
(file)
--- a/
lisp/message.el
+++ b/
lisp/message.el
@@
-3997,7
+3997,10
@@
See `message-citation-line-format'."
((or (= count 2) (= count 3)) (setq fname (car names)
lname (mapconcat 'identity (cdr names) " ")))
((> count 3) (setq fname (mapconcat 'identity (butlast names (- count 2)) " ")
((or (= count 2) (= count 3)) (setq fname (car names)
lname (mapconcat 'identity (cdr names) " ")))
((> count 3) (setq fname (mapconcat 'identity (butlast names (- count 2)) " ")
- lname (mapconcat 'identity (nthcdr 2 names) " "))) )))
+ lname (mapconcat 'identity (nthcdr 2 names) " "))) )
+ (when (string-match "\\(.*\\),\\'" fname)
+ (let ((newlname (match-string 1 fname)))
+ (setq fname lname lname newlname)))))
;; The following letters are not used in `format-time-string':
(push ?E lst) (push "<E>" lst)
(push ?F lst) (push fname lst)
;; The following letters are not used in `format-time-string':
(push ?E lst) (push "<E>" lst)
(push ?F lst) (push fname lst)