Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
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)
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Now your function `foo` is interactive, you can use it in a
keybinding:

#+BEGIN_SRC emacs-lisp
(define-key emacs-lisp-mode (kbd "C-c C-f") 'foo)
(define-key emacs-lisp-mode-map (kbd "C-c C-f") 'foo)
#+END_SRC

** Defining your own major mode
Expand Down