Done.

On Tue, Jul 29, 2014 at 10:23 AM, Craig Earls <[email protected]> wrote:
> I will stick this in tonight.
>
>
> On Tuesday, July 29, 2014, Alan Schmitt <[email protected]>
> wrote:
>>
>> Hello,
>>
>> I was editing an html file, and after saving it I got the following
>> backtrace:
>>
>> Debugger entered--Lisp error: (wrong-type-argument stringp (sgml-xml-mode
>> "XHTML" "HTML"))
>>   ledger-report-redo()
>>   run-hooks(after-save-hook)
>>   basic-save-buffer()
>>   save-buffer(1)
>>   call-interactively(save-buffer nil nil)
>>
>> The problem seems to come from this line of `ledger-report-redo'
>>
>>   (string= mode-name "Ledger")
>>
>> Here is the documentation for mode-name in this folder:
>>
>>   mode-name is a variable defined in `C source code'.
>>   Its value is (sgml-xml-mode "XHTML" "HTML")
>>   Local in buffer index.html; global value is 0
>>
>>     Automatically becomes buffer-local when set.
>>     This variable may be risky if used as a file-local variable.
>>
>>   Documentation:
>>   Pretty name of current buffer's major mode.
>>   Usually a string, but can use any of the constructs for
>> `mode-line-format',
>>   which see.
>>   Format with `format-mode-line' to produce a string value.
>>
>> I thus propose to change the line above to
>>
>>   (string= (format-mode-line 'mode-name) "Ledger")
>>
>> Best,
>>
>> Alan
>>
>> --
>> OpenPGP Key ID : 040D0A3B4ED2E5C7
>
>
>
> --
> Craig, Corona De Tucson, AZ
> enderw88.wordpress.com



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to