How can I override emacs function with my own implementation for a specific mode?
example/reference would be great
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This seems like an odd thing to want to do, but you could do it by advising the function, I suppose. Example:
After evaluating this advice, the
*function will return 42 if it is given the two arguments 6 and 9, but only in html-mode.