Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

fix parameter emacs-lisp-mode to emacs-lisp-mode-map #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ Now your function `foo` is interactive, you can use it in a
keybinding:

``` lisp
(define-key emacs-lisp-mode (kbd "C-c C-f") 'foo)
(define-key emacs-lisp-mode-mode (kbd "C-c C-f") 'foo)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s s typo in your change too! 🤪

```

## Defining your own major mode
Expand Down Expand Up @@ -683,4 +683,4 @@ need a `(provide 'foo)` line at the bottom of your file for this to work.
* http://www.delorie.com/gnu/docs/emacs-lisp-intro/emacs-lisp-intro_toc.html
* http://cjohansen.no/an-introduction-to-elisp
* http://emacswiki.org/emacs/ElispCookbook
* [Emacs cheah sheet](https://web.archive.org/web/20150525182115/http://wikemacs.org/wiki/Emacs_Lisp_Cheat_Sheet)
* [Emacs cheah sheet](https://web.archive.org/web/20150525182115/http://wikemacs.org/wiki/Emacs_Lisp_Cheat_Sheet)