1

I am using Ubuntu 15.10 and Emacs 24. but recently when i open a Python source file in Emacs or create a new one, i get an error:

symbol's function definition is void: format-message

The file is opened as a Fundamental.

edit: this error only happens if i use my custom .emacs file.

2 Answers 2

1

I'm not sure why that's failing, but perhaps we can fix this problem by writing our own format-message. Try putting this in your .emacs:

(defun format-message (s &rest args)
  (message (apply 'format s args)))
Sign up to request clarification or add additional context in comments.

Comments

0

I asked the question in some IRC group's and came up with an answer... it seemed that elpa Python.el package, tries to load a file that is not python and is C++...

I just had to delete the file and it worked again.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.