mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-09 21:50:50 +00:00
(setup_coding_system): Properly check for nil.
This commit is contained in:
parent
28ae27ae28
commit
f82423d721
1 changed files with 2 additions and 2 deletions
|
@ -3050,10 +3050,10 @@ setup_coding_system (coding_system, coding)
|
|||
if (CONSP (val)
|
||||
&& SYMBOLP (XCONS (val)->car)
|
||||
&& !NILP (decoder = Fget (XCONS (val)->car, Qccl_program_idx))
|
||||
&& (decoder = Fcdr (Faref (Vccl_program_table, decoder)))
|
||||
&& !NILP (decoder = Fcdr (Faref (Vccl_program_table, decoder)))
|
||||
&& SYMBOLP (XCONS (val)->cdr)
|
||||
&& !NILP (encoder = Fget (XCONS (val)->cdr, Qccl_program_idx))
|
||||
&& (encoder = Fcdr (Faref (Vccl_program_table, encoder))))
|
||||
&& !NILP (encoder = Fcdr (Faref (Vccl_program_table, encoder))))
|
||||
{
|
||||
setup_ccl_program (&(coding->spec.ccl.decoder), decoder);
|
||||
setup_ccl_program (&(coding->spec.ccl.encoder), encoder);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue