diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-10 14:50:12 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-10 14:50:12 +1100 |
commit | 7c7ac0e7fa8d54c8b4274c7e6f33fe8536b5d826 (patch) | |
tree | c51a9776f5c98b548413a280cfda4387966002d2 /lisp/gnus/compface.el | |
parent | 14369a976379499b18f9de1a128e5d2c867c84c2 (diff) | |
download | emacs-7c7ac0e7fa8d54c8b4274c7e6f33fe8536b5d826.tar.gz emacs-7c7ac0e7fa8d54c8b4274c7e6f33fe8536b5d826.tar.bz2 emacs-7c7ac0e7fa8d54c8b4274c7e6f33fe8536b5d826.zip |
Remove compat code from compface.el
* lisp/gnus/compface.el: Remove XEmacs compat code throughout.
Diffstat (limited to 'lisp/gnus/compface.el')
-rw-r--r-- | lisp/gnus/compface.el | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/gnus/compface.el b/lisp/gnus/compface.el index cd70d6c87c9..e2f607b1be3 100644 --- a/lisp/gnus/compface.el +++ b/lisp/gnus/compface.el @@ -31,7 +31,7 @@ Requires the external programs `uncompface', and `icontopbm'. On a GNU/Linux system these might be in packages with names like `compface' or `faces-xface' and `netpbm' or `libgr-progs', for instance." (with-temp-buffer - (unless (featurep 'xemacs) (set-buffer-multibyte nil)) + (set-buffer-multibyte nil) (insert face) (let ((coding-system-for-read 'raw-text) ;; At least "icontopbm" doesn't work with Windows because @@ -44,17 +44,10 @@ or `faces-xface' and `netpbm' or `libgr-progs', for instance." (goto-char (point-min)) (insert "/* Format_version=1, Width=48, Height=48, Depth=1,\ Valid_bits_per_item=16 */\n") - ;; I just can't get "icontopbm" to work correctly on its - ;; own in XEmacs. And Emacs doesn't understand un-raw pbm - ;; files. - (if (not (featurep 'xemacs)) - (eq 0 (call-process-region (point-min) (point-max) - "icontopbm" - 'delete '(t nil))) - (shell-command-on-region (point-min) (point-max) - "icontopbm | pnmnoraw" - (current-buffer) t) - t)) + ;; Emacs doesn't understand un-raw pbm files. + (eq 0 (call-process-region (point-min) (point-max) + "icontopbm" + 'delete '(t nil)))) (buffer-string))))) (provide 'compface) |