diff options
| author | Lars Ingebrigtsen | 2011-01-26 10:25:18 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-01-26 10:25:18 +0000 |
| commit | e4dbdb099213f183db9b46fa93f998319dfb64cd (patch) | |
| tree | f66c808afc264d99938fb24040dab2d1101706d3 | |
| parent | 95df8112a0cbdb06addbac5fbea03b37d4440418 (diff) | |
| download | emacs-e4dbdb099213f183db9b46fa93f998319dfb64cd.tar.gz emacs-e4dbdb099213f183db9b46fa93f998319dfb64cd.zip | |
shr.el: Revert change that made headings use different-sized faces. The Emacs display engine isn't advanced enough that, for instance, tables can comfortably use differntly-sized faces.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 36 |
2 files changed, 12 insertions, 30 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index cbaf4244e32..27ffd6dba39 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-01-26 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * shr.el: Revert change that made headings use different-sized faces. | ||
| 4 | The Emacs display engine isn't advanced enough that, for instance, | ||
| 5 | tables can comfortably use differntly-sized faces. | ||
| 6 | |||
| 1 | 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org> | 7 | 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 8 | ||
| 3 | * nnimap.el (nnimap-open-connection-1): Store the actual stream type | 9 | * nnimap.el (nnimap-open-connection-1): Store the actual stream type |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 48aee4004db..2f475857b3f 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -82,30 +82,6 @@ used." | |||
| 82 | (const :tag "Use the width of the window" nil)) | 82 | (const :tag "Use the width of the window" nil)) |
| 83 | :group 'shr) | 83 | :group 'shr) |
| 84 | 84 | ||
| 85 | (defface shr-tag-h1 '((t (:bold t :height 2.2))) | ||
| 86 | "Face used for H1 tags." | ||
| 87 | :group 'shr) | ||
| 88 | |||
| 89 | (defface shr-tag-h2 '((t (:bold t :height 2.0))) | ||
| 90 | "Face used for H2 tags." | ||
| 91 | :group 'shr) | ||
| 92 | |||
| 93 | (defface shr-tag-h3 '((t (:bold t :height 1.8))) | ||
| 94 | "Face used for H3 tags." | ||
| 95 | :group 'shr) | ||
| 96 | |||
| 97 | (defface shr-tag-h4 '((t (:bold t :height 1.6))) | ||
| 98 | "Face used for H4 tags." | ||
| 99 | :group 'shr) | ||
| 100 | |||
| 101 | (defface shr-tag-h5 '((t (:bold t :height 1.4))) | ||
| 102 | "Face used for H5 tags." | ||
| 103 | :group 'shr) | ||
| 104 | |||
| 105 | (defface shr-tag-h6 '((t (:bold t :height 1.2))) | ||
| 106 | "Face used for H6 tags." | ||
| 107 | :group 'shr) | ||
| 108 | |||
| 109 | (defvar shr-content-function nil | 85 | (defvar shr-content-function nil |
| 110 | "If bound, this should be a function that will return the content. | 86 | "If bound, this should be a function that will return the content. |
| 111 | This is used for cid: URLs, and the function is called with the | 87 | This is used for cid: URLs, and the function is called with the |
| @@ -906,22 +882,22 @@ ones, in case fg and bg are nil." | |||
| 906 | (shr-generic cont)) | 882 | (shr-generic cont)) |
| 907 | 883 | ||
| 908 | (defun shr-tag-h1 (cont) | 884 | (defun shr-tag-h1 (cont) |
| 909 | (shr-heading cont 'shr-tag-h1)) | 885 | (shr-heading cont 'bold 'underline)) |
| 910 | 886 | ||
| 911 | (defun shr-tag-h2 (cont) | 887 | (defun shr-tag-h2 (cont) |
| 912 | (shr-heading cont 'shr-tag-h2)) | 888 | (shr-heading cont 'bold)) |
| 913 | 889 | ||
| 914 | (defun shr-tag-h3 (cont) | 890 | (defun shr-tag-h3 (cont) |
| 915 | (shr-heading cont 'shr-tag-h3)) | 891 | (shr-heading cont 'italic)) |
| 916 | 892 | ||
| 917 | (defun shr-tag-h4 (cont) | 893 | (defun shr-tag-h4 (cont) |
| 918 | (shr-heading cont 'shr-tag-h4)) | 894 | (shr-heading cont)) |
| 919 | 895 | ||
| 920 | (defun shr-tag-h5 (cont) | 896 | (defun shr-tag-h5 (cont) |
| 921 | (shr-heading cont 'shr-tag-h5)) | 897 | (shr-heading cont)) |
| 922 | 898 | ||
| 923 | (defun shr-tag-h6 (cont) | 899 | (defun shr-tag-h6 (cont) |
| 924 | (shr-heading cont 'shr-tag-h6)) | 900 | (shr-heading cont)) |
| 925 | 901 | ||
| 926 | (defun shr-tag-hr (cont) | 902 | (defun shr-tag-hr (cont) |
| 927 | (shr-ensure-newline) | 903 | (shr-ensure-newline) |