# HG changeset patch # User Katsumi Yamaoka # Date 1279155373 0 # Node ID 78cc63913bba5432b61b6c23971b841ad6b3162f # Parent 3fcc8637a88722651cb44bd8596d9ba5cc038c36# Parent cb913a2832472f5d5564f1ecc2b52cc682e67a92 Make gnus-summary-bookmark-make-record work for Emacs 23 as well. 2010-07-15 Katsumi Yamaoka * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for Emacs 23 as well. diff -r 3fcc8637a887 -r 78cc63913bba lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Wed Jul 14 15:09:28 2010 -0400 +++ b/lisp/gnus/ChangeLog Thu Jul 15 00:56:13 2010 +0000 @@ -1,4 +1,9 @@ -2010-07-13 Thierry Volpiatto +2010-07-15 Katsumi Yamaoka + + * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for + Emacs 23 as well. + +2010-07-13 Thierry Volpiatto Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). Patch applied by Karl Fogel. @@ -15,14 +20,14 @@ * gnus-art.el (bookmark-make-record-function): New local variable. - * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting - from article buffer. + * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from + article buffer. (gnus-summary-bookmark-jump): Maybe jump to article buffer. 2010-07-13 Karl Fogel - * gnus/gnus-sum.el (bookmark-make-record-default): Adjust - declaration, based on changes in bookmark.el. + * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based + on changes in bookmark.el. 2010-06-22 Mark A. Hershberger diff -r 3fcc8637a887 -r 78cc63913bba lisp/gnus/gnus-sum.el --- a/lisp/gnus/gnus-sum.el Wed Jul 14 15:09:28 2010 -0400 +++ b/lisp/gnus/gnus-sum.el Thu Jul 15 00:56:13 2010 +0000 @@ -12645,7 +12645,10 @@ (head (gnus-summary-article-header art)) (id (mail-header-id head))) `(,subject - ,@(bookmark-make-record-default 'no-file 'no-context pos) + ,@(condition-case nil + (bookmark-make-record-default 'no-file 'no-context (point)) + (wrong-number-of-arguments + (bookmark-make-record-default 'point-only))) (location . ,(format "Gnus-%s %s:%d:%s" buf grp art id)) (group . ,grp) (article . ,art) (message-id . ,id) (handler . gnus-summary-bookmark-jump)))))