diff options
| author | Lars Ingebrigtsen | 2016-02-13 17:13:35 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-13 17:13:35 +1100 |
| commit | 51ed8d5f4790ae8d296ac03e3fcba6c535f225f7 (patch) | |
| tree | 2d1b7a4190ff3de1c6dbd5c86a25dff2701552e3 | |
| parent | 7a42ebd969efd896185b0822e7031268a8f8080d (diff) | |
| download | emacs-51ed8d5f4790ae8d296ac03e3fcba6c535f225f7.tar.gz emacs-51ed8d5f4790ae8d296ac03e3fcba6c535f225f7.zip | |
Remove compat code from gnus-spec.el
* lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
(gnus-balloon-face-function): Remove compat code.
| -rw-r--r-- | lisp/gnus/gnus-spec.el | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lisp/gnus/gnus-spec.el b/lisp/gnus/gnus-spec.el index 36f6f430e42..5d6ad7f14eb 100644 --- a/lisp/gnus/gnus-spec.el +++ b/lisp/gnus/gnus-spec.el | |||
| @@ -73,11 +73,9 @@ | |||
| 73 | (header gnus-tmp-from)) | 73 | (header gnus-tmp-from)) |
| 74 | 74 | ||
| 75 | (defmacro gnus-lrm-string-p (string) | 75 | (defmacro gnus-lrm-string-p (string) |
| 76 | (if (fboundp 'bidi-string-mark-left-to-right) | 76 | ;; LRM, RLM, PDF characters as integers to avoid breaking Emacs |
| 77 | ;; LRM, RLM, PDF characters as integers to avoid breaking Emacs | 77 | ;; 23. |
| 78 | ;; 23. | 78 | `(memq (aref ,string (1- (length ,string))) '(8206 8207 8236))) |
| 79 | `(memq (aref ,string (1- (length ,string))) '(8206 8207 8236)) | ||
| 80 | nil)) | ||
| 81 | 79 | ||
| 82 | (defvar gnus-lrm-string (if (ignore-errors (string 8206)) | 80 | (defvar gnus-lrm-string (if (ignore-errors (string 8206)) |
| 83 | (propertize (string 8206) 'invisible t) | 81 | (propertize (string 8206) 'invisible t) |
| @@ -258,10 +256,7 @@ Return a list of updated types." | |||
| 258 | 256 | ||
| 259 | (defun gnus-balloon-face-function (form type) | 257 | (defun gnus-balloon-face-function (form type) |
| 260 | `(gnus-put-text-property | 258 | `(gnus-put-text-property |
| 261 | (point) (progn ,@form (point)) | 259 | (point) (progn ,@form (point)) 'help-echo |
| 262 | ,(if (fboundp 'balloon-help-mode) | ||
| 263 | ''balloon-help | ||
| 264 | ''help-echo) | ||
| 265 | ,(intern (format "gnus-balloon-face-%d" type)))) | 260 | ,(intern (format "gnus-balloon-face-%d" type)))) |
| 266 | 261 | ||
| 267 | (defun gnus-spec-tab (column) | 262 | (defun gnus-spec-tab (column) |