aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-29 09:33:53 +0000
committerAndreas Schwab1998-04-29 09:33:53 +0000
commitf82423d72166a1821b33c0a85c9143de0a9f3d2d (patch)
treee96beed6392a2c427d09f04bc81cd3451397867c /src/coding.c
parent28ae27ae28f4ab958b0ad94808de1b8946d2a2b3 (diff)
downloademacs-f82423d72166a1821b33c0a85c9143de0a9f3d2d.tar.gz
emacs-f82423d72166a1821b33c0a85c9143de0a9f3d2d.zip
(setup_coding_system): Properly check for nil.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 09d0ec68de0..f30942e3227 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3050,10 +3050,10 @@ setup_coding_system (coding_system, coding)
3050 if (CONSP (val) 3050 if (CONSP (val)
3051 && SYMBOLP (XCONS (val)->car) 3051 && SYMBOLP (XCONS (val)->car)
3052 && !NILP (decoder = Fget (XCONS (val)->car, Qccl_program_idx)) 3052 && !NILP (decoder = Fget (XCONS (val)->car, Qccl_program_idx))
3053 && (decoder = Fcdr (Faref (Vccl_program_table, decoder))) 3053 && !NILP (decoder = Fcdr (Faref (Vccl_program_table, decoder)))
3054 && SYMBOLP (XCONS (val)->cdr) 3054 && SYMBOLP (XCONS (val)->cdr)
3055 && !NILP (encoder = Fget (XCONS (val)->cdr, Qccl_program_idx)) 3055 && !NILP (encoder = Fget (XCONS (val)->cdr, Qccl_program_idx))
3056 && (encoder = Fcdr (Faref (Vccl_program_table, encoder)))) 3056 && !NILP (encoder = Fcdr (Faref (Vccl_program_table, encoder))))
3057 { 3057 {
3058 setup_ccl_program (&(coding->spec.ccl.decoder), decoder); 3058 setup_ccl_program (&(coding->spec.ccl.decoder), decoder);
3059 setup_ccl_program (&(coding->spec.ccl.encoder), encoder); 3059 setup_ccl_program (&(coding->spec.ccl.encoder), encoder);