diff options
| author | Glenn Morris | 2008-06-10 03:09:10 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-10 03:09:10 +0000 |
| commit | bee1c0fea09d96b4043a759a084dae47e86b1ab1 (patch) | |
| tree | daa4e03e1d4dd0f96c170d85deb93467a7963017 | |
| parent | 352b43ab45af19457a94751c909f4445cf92a97f (diff) | |
| download | emacs-bee1c0fea09d96b4043a759a084dae47e86b1ab1.tar.gz emacs-bee1c0fea09d96b4043a759a084dae47e86b1ab1.zip | |
(newsticker--next-item-image)
(newsticker--previous-item-image, newsticker--previous-feed-image)
(newsticker--next-feed-image, newsticker--mark-read-image)
(ewsticker--mark-immortal-image, newsticker--narrow-image)
(newsticker--get-all-image, newsticker--update-image)
(newsticker--browse-image): Check xpm images are available.
(newsticker--mark-read-image, newsticker--mark-immortal-image)
(newsticker--narrow-image, newsticker--get-all-image): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 31 | ||||
| -rw-r--r-- | lisp/net/newsticker-reader.el | 92 |
2 files changed, 82 insertions, 41 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b1299d78b8e..5a31bcf6e64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,34 @@ | |||
| 1 | 2008-06-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare. | ||
| 4 | (newsticker-treeview-tool-bar-map, newsticker-treeview-mode): Check | ||
| 5 | tool-bar-map is bound, for non-X builds. | ||
| 6 | |||
| 7 | * net/newsticker-reader.el (newsticker--next-item-image) | ||
| 8 | (newsticker--previous-item-image, newsticker--previous-feed-image) | ||
| 9 | (newsticker--next-feed-image, newsticker--mark-read-image) | ||
| 10 | (ewsticker--mark-immortal-image, newsticker--narrow-image) | ||
| 11 | (newsticker--get-all-image, newsticker--update-image) | ||
| 12 | (newsticker--browse-image): Check xpm images are available. | ||
| 13 | (newsticker--mark-read-image, newsticker--mark-immortal-image) | ||
| 14 | (newsticker--narrow-image, newsticker--get-all-image): Doc fix. | ||
| 15 | |||
| 16 | * net/newsticker-plainview.el (tool-bar-map): Don't declare. | ||
| 17 | (newsticker--plainview-tool-bar-map, newsticker-mode): | ||
| 18 | Check tool-bar-map is bound, for non-X builds. | ||
| 19 | (w3m-toggle-inline-image): Declare. | ||
| 20 | |||
| 21 | * net/newsticker-backend.el (tool-bar-map): Don't declare. | ||
| 22 | |||
| 23 | * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie. | ||
| 24 | |||
| 25 | * finder.el (finder-font-lock-keywords): Handle ``quotes''. | ||
| 26 | (finder-compile-keywords): Move let to where needed. | ||
| 27 | (finder-mouse-face-on-line): Go back one more line if needed. | ||
| 28 | (finder-list-matches): Use cadr. | ||
| 29 | (finder-goto-xref): New function. | ||
| 30 | (finder-commentary): Add buttons to jump to foo.el libraries. | ||
| 31 | |||
| 1 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> | 32 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 33 | ||
| 3 | * apropos.el (apropos-function, apropos-macro, apropos-command) | 34 | * apropos.el (apropos-function, apropos-macro, apropos-command) |
diff --git a/lisp/net/newsticker-reader.el b/lisp/net/newsticker-reader.el index ffe0a71c635..fc9fcaff961 100644 --- a/lisp/net/newsticker-reader.el +++ b/lisp/net/newsticker-reader.el | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | ;; Filename: newsticker-reader.el | 8 | ;; Filename: newsticker-reader.el |
| 9 | ;; URL: http://www.nongnu.org/newsticker | 9 | ;; URL: http://www.nongnu.org/newsticker |
| 10 | ;; Time-stamp: "7. Juni 2008, 15:34:08 (ulf)" | 10 | ;; Time-stamp: "7. Juni 2008, 15:34:08 (ulf)" |
| 11 | ;; CVS-Version: $Id: newsticker-reader.el,v 1.1 2008/06/08 15:35:57 u11 Exp $ | 11 | ;; CVS-Version: $Id: newsticker-reader.el,v 1.2 2008/06/08 18:09:06 miles Exp $ |
| 12 | 12 | ||
| 13 | ;; ====================================================================== | 13 | ;; ====================================================================== |
| 14 | 14 | ||
| @@ -264,8 +264,9 @@ Return the image." | |||
| 264 | ;;; Toolbar | 264 | ;;; Toolbar |
| 265 | ;; ====================================================================== | 265 | ;; ====================================================================== |
| 266 | (defconst newsticker--next-item-image | 266 | (defconst newsticker--next-item-image |
| 267 | (if (fboundp 'create-image) | 267 | (and (fboundp 'image-type-available-p) |
| 268 | (create-image "/* XPM */ | 268 | (image-type-available-p 'xpm) |
| 269 | (create-image "/* XPM */ | ||
| 269 | static char * next_xpm[] = { | 270 | static char * next_xpm[] = { |
| 270 | \"24 24 42 1\", | 271 | \"24 24 42 1\", |
| 271 | \" c None\", | 272 | \" c None\", |
| @@ -335,12 +336,13 @@ static char * next_xpm[] = { | |||
| 335 | \" \", | 336 | \" \", |
| 336 | \" \"}; | 337 | \" \"}; |
| 337 | " | 338 | " |
| 338 | 'xpm t) | 339 | 'xpm t)) |
| 339 | "Image for the next item button.")) | 340 | "Image for the next item button.") |
| 340 | 341 | ||
| 341 | (defconst newsticker--previous-item-image | 342 | (defconst newsticker--previous-item-image |
| 342 | (if (fboundp 'create-image) | 343 | (and (fboundp 'image-type-available-p) |
| 343 | (create-image "/* XPM */ | 344 | (image-type-available-p 'xpm) |
| 345 | (create-image "/* XPM */ | ||
| 344 | static char * previous_xpm[] = { | 346 | static char * previous_xpm[] = { |
| 345 | \"24 24 39 1\", | 347 | \"24 24 39 1\", |
| 346 | \" c None\", | 348 | \" c None\", |
| @@ -407,12 +409,13 @@ static char * previous_xpm[] = { | |||
| 407 | \" \", | 409 | \" \", |
| 408 | \" \"}; | 410 | \" \"}; |
| 409 | " | 411 | " |
| 410 | 'xpm t) | 412 | 'xpm t)) |
| 411 | "Image for the previous item button.")) | 413 | "Image for the previous item button.") |
| 412 | 414 | ||
| 413 | (defconst newsticker--previous-feed-image | 415 | (defconst newsticker--previous-feed-image |
| 414 | (if (fboundp 'create-image) | 416 | (and (fboundp 'image-type-available-p) |
| 415 | (create-image "/* XPM */ | 417 | (image-type-available-p 'xpm) |
| 418 | (create-image "/* XPM */ | ||
| 416 | static char * prev_feed_xpm[] = { | 419 | static char * prev_feed_xpm[] = { |
| 417 | \"24 24 52 1\", | 420 | \"24 24 52 1\", |
| 418 | \" c None\", | 421 | \" c None\", |
| @@ -492,12 +495,13 @@ static char * prev_feed_xpm[] = { | |||
| 492 | \" \", | 495 | \" \", |
| 493 | \" \"}; | 496 | \" \"}; |
| 494 | " | 497 | " |
| 495 | 'xpm t) | 498 | 'xpm t)) |
| 496 | "Image for the previous feed button.")) | 499 | "Image for the previous feed button.") |
| 497 | 500 | ||
| 498 | (defconst newsticker--next-feed-image | 501 | (defconst newsticker--next-feed-image |
| 499 | (if (fboundp 'create-image) | 502 | (and (fboundp 'image-type-available-p) |
| 500 | (create-image "/* XPM */ | 503 | (image-type-available-p 'xpm) |
| 504 | (create-image "/* XPM */ | ||
| 501 | static char * next_feed_xpm[] = { | 505 | static char * next_feed_xpm[] = { |
| 502 | \"24 24 57 1\", | 506 | \"24 24 57 1\", |
| 503 | \" c None\", | 507 | \" c None\", |
| @@ -582,12 +586,13 @@ static char * next_feed_xpm[] = { | |||
| 582 | \" \", | 586 | \" \", |
| 583 | \" \"}; | 587 | \" \"}; |
| 584 | " | 588 | " |
| 585 | 'xpm t) | 589 | 'xpm t)) |
| 586 | "Image for the next feed button.")) | 590 | "Image for the next feed button.") |
| 587 | 591 | ||
| 588 | (defconst newsticker--mark-read-image | 592 | (defconst newsticker--mark-read-image |
| 589 | (if (fboundp 'create-image) | 593 | (and (fboundp 'image-type-available-p) |
| 590 | (create-image "/* XPM */ | 594 | (image-type-available-p 'xpm) |
| 595 | (create-image "/* XPM */ | ||
| 591 | static char * mark_read_xpm[] = { | 596 | static char * mark_read_xpm[] = { |
| 592 | \"24 24 44 1\", | 597 | \"24 24 44 1\", |
| 593 | \" c None\", | 598 | \" c None\", |
| @@ -659,12 +664,13 @@ static char * mark_read_xpm[] = { | |||
| 659 | \" \", | 664 | \" \", |
| 660 | \" \"}; | 665 | \" \"}; |
| 661 | " | 666 | " |
| 662 | 'xpm t) | 667 | 'xpm t)) |
| 663 | "Image for the next feed button.")) | 668 | "Image for the mark read button.") |
| 664 | 669 | ||
| 665 | (defconst newsticker--mark-immortal-image | 670 | (defconst newsticker--mark-immortal-image |
| 666 | (if (fboundp 'create-image) | 671 | (and (fboundp 'image-type-available-p) |
| 667 | (create-image "/* XPM */ | 672 | (image-type-available-p 'xpm) |
| 673 | (create-image "/* XPM */ | ||
| 668 | static char * mark_immortal_xpm[] = { | 674 | static char * mark_immortal_xpm[] = { |
| 669 | \"24 24 93 2\", | 675 | \"24 24 93 2\", |
| 670 | \" c None\", | 676 | \" c None\", |
| @@ -785,12 +791,13 @@ static char * mark_immortal_xpm[] = { | |||
| 785 | \" \", | 791 | \" \", |
| 786 | \" \"}; | 792 | \" \"}; |
| 787 | " | 793 | " |
| 788 | 'xpm t) | 794 | 'xpm t)) |
| 789 | "Image for the next feed button.")) | 795 | "Image for the mark immortal button.") |
| 790 | 796 | ||
| 791 | (defconst newsticker--narrow-image | 797 | (defconst newsticker--narrow-image |
| 792 | (if (fboundp 'create-image) | 798 | (and (fboundp 'image-type-available-p) |
| 793 | (create-image "/* XPM */ | 799 | (image-type-available-p 'xpm) |
| 800 | (create-image "/* XPM */ | ||
| 794 | static char * narrow_xpm[] = { | 801 | static char * narrow_xpm[] = { |
| 795 | \"24 24 48 1\", | 802 | \"24 24 48 1\", |
| 796 | \" c None\", | 803 | \" c None\", |
| @@ -866,12 +873,13 @@ static char * narrow_xpm[] = { | |||
| 866 | \" \", | 873 | \" \", |
| 867 | \" \"}; | 874 | \" \"}; |
| 868 | " | 875 | " |
| 869 | 'xpm t) | 876 | 'xpm t)) |
| 870 | "Image for the next feed button.")) | 877 | "Image for the narrow image button.") |
| 871 | 878 | ||
| 872 | (defconst newsticker--get-all-image | 879 | (defconst newsticker--get-all-image |
| 873 | (if (fboundp 'create-image) | 880 | (and (fboundp 'image-type-available-p) |
| 874 | (create-image "/* XPM */ | 881 | (image-type-available-p 'xpm) |
| 882 | (create-image "/* XPM */ | ||
| 875 | static char * get_all_xpm[] = { | 883 | static char * get_all_xpm[] = { |
| 876 | \"24 24 70 1\", | 884 | \"24 24 70 1\", |
| 877 | \" c None\", | 885 | \" c None\", |
| @@ -969,12 +977,13 @@ static char * get_all_xpm[] = { | |||
| 969 | \" \", | 977 | \" \", |
| 970 | \" \"}; | 978 | \" \"}; |
| 971 | " | 979 | " |
| 972 | 'xpm t) | 980 | 'xpm t)) |
| 973 | "Image for the next feed button.")) | 981 | "Image for the get all image button.") |
| 974 | 982 | ||
| 975 | (defconst newsticker--update-image | 983 | (defconst newsticker--update-image |
| 976 | (if (fboundp 'create-image) | 984 | (and (fboundp 'image-type-available-p) |
| 977 | (create-image "/* XPM */ | 985 | (image-type-available-p 'xpm) |
| 986 | (create-image "/* XPM */ | ||
| 978 | static char * update_xpm[] = { | 987 | static char * update_xpm[] = { |
| 979 | \"24 24 37 1\", | 988 | \"24 24 37 1\", |
| 980 | \" c None\", | 989 | \" c None\", |
| @@ -1039,12 +1048,13 @@ static char * update_xpm[] = { | |||
| 1039 | \" \", | 1048 | \" \", |
| 1040 | \" \"}; | 1049 | \" \"}; |
| 1041 | " | 1050 | " |
| 1042 | 'xpm t) | 1051 | 'xpm t)) |
| 1043 | "Image for the update button.")) | 1052 | "Image for the update button.") |
| 1044 | 1053 | ||
| 1045 | (defconst newsticker--browse-image | 1054 | (defconst newsticker--browse-image |
| 1046 | (if (fboundp 'create-image) | 1055 | (and (fboundp 'image-type-available-p) |
| 1047 | (create-image "/* XPM */ | 1056 | (image-type-available-p 'xpm) |
| 1057 | (create-image "/* XPM */ | ||
| 1048 | static char * visit_xpm[] = { | 1058 | static char * visit_xpm[] = { |
| 1049 | \"24 24 39 1\", | 1059 | \"24 24 39 1\", |
| 1050 | \" c None\", | 1060 | \" c None\", |
| @@ -1111,8 +1121,8 @@ static char * visit_xpm[] = { | |||
| 1111 | \" . \", | 1121 | \" . \", |
| 1112 | \" \"}; | 1122 | \" \"}; |
| 1113 | " | 1123 | " |
| 1114 | 'xpm t) | 1124 | 'xpm t)) |
| 1115 | "Image for the browse button.")) | 1125 | "Image for the browse button.") |
| 1116 | 1126 | ||
| 1117 | (provide 'newsticker-reader) | 1127 | (provide 'newsticker-reader) |
| 1118 | 1128 | ||