[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Local elisp library files and variable corruption
From: |
Noam Postavsky |
Subject: |
Re: Local elisp library files and variable corruption |
Date: |
Fri, 24 Jun 2016 15:23:27 -0400 |
On Fri, Jun 24, 2016 at 3:16 PM, Eli Zaretskii <address@hidden> wrote:
>> From: Live System User <address@hidden>
>> Date: Fri, 24 Jun 2016 14:59:05 -0400
>>
>> 3. M-x describe-variable RET after-init-hook
>>
>>
>> The variable `after-init-hook' then appears to be corrupted:
>>
>> after-init-hook is a variable defined in ‘startup.el’.
>> Its value is (#[0 "\305\211 \235\203\306 \"\301\307!\210\210 \205(\n\205
>> \205 \310 ?\311 \210\312\211)\207"
>> [command-line-args desktop-save-mode desktop-restore-frames
>> initial-window-system inhibit-startup-screen "--no-desktop" delete 0 daemonp
>> desktop-read t]
>> 4]
>> x-wm-set-size-hint)
>
> Why do you say this is corrupted? It looks like bytecode to me.
>
Specifically the compiled form of the anonymous function added by
desktop.el (look near the end):
(add-hook
'after-init-hook
(lambda ()
(let ((key "--no-desktop"))
(when (member key command-line-args)
...