Find the answer to your Linux question:
Results 1 to 2 of 2
Following instructions on how to byte-compile a Lisp file in Emacs I used the "M-x byte-compile-file RET :[name of file]" to byte-compile the following .el file: Well it won't let ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    27

    'csharp-mode.el' file won't byte-compile in Emacs


    Following instructions on how to byte-compile a Lisp file in Emacs I used the "M-x byte-compile-file RET :[name of file]" to byte-compile the following .el file:

    Well it won't let me link to the file because apparently I haven't made 15 posts yet but anyway here is the error code.


    Here is the error message:
    Leaving directory `~/'

    Compiling file /home/jon/csharp-mode.el at Wed Jul 25 19:31:45 2012
    Entering directory `/home/jon/'
    csharp-mode.el:2028:1:Error: Symbol's value as variable is void: csharp-enum-decl-re




    Here is the line of code to which it is referring:
    (defconst csharp-font-lock-keywords-2 (c-lang-const c-matchers-2 csharp)
    "Fast normal highlighting for C# mode.")

  2. #2
    Linux Newbie hagfish52's Avatar
    Join Date
    Dec 2011
    Location
    Asheville, NC
    Posts
    225
    Sounds like you either haven't declared the variable "csharp-enum-decl-re" or you haven't assigned a value to it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •