sly icon indicating copy to clipboard operation
sly copied to clipboard

alexandria:define-constant Indentation

Open charJe opened this issue 4 years ago • 6 comments

(define-constant +crlf+
    (coerce (list (code-char 13) (code-char 10)) 'string)
  :test #'string=)
(define-econstant +sec-key+
  "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
  :test #'string=)

Inconsistent indentation for the value.

charJe avatar Jan 16 '21 19:01 charJe

Inconsistent indentation for the value.

define-econstant is a macro?

joaotavora avatar Jan 16 '21 21:01 joaotavora

Never, mind I reproduced. I'll have a look. Same thing happens in SLIME, for what it's worth.

joaotavora avatar Jan 16 '21 21:01 joaotavora

It is a macro

charJe avatar Jan 16 '21 21:01 charJe

Well, if define-econstant is a macro I need to know the macro definition. Are you sure you don't mean define-constant?

joaotavora avatar Jan 16 '21 21:01 joaotavora

I do mean define-constant econstant is a typeo, but the behavior is the same. because the value is a string.

charJe avatar Jan 16 '21 21:01 charJe

I understand, and that's what I meant by "I reproduced".

joaotavora avatar Jan 16 '21 21:01 joaotavora