trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:41:35 -06:00
parent fa407dfeb6
commit e013d7569e
22945 changed files with 447936 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<p>Marcin Borkowski (mbork) has a short post on how to make <code>y-or-n-p</code> return <code>t</code> when the user types <kbd>Return</kbd>. Check his <a href="http://mbork.pl/2021-11-13_y-or-n-p_but_with_RET_meaning_yes">post</a> for the details but the TL;DR is that he temporarily extends the <code>y-or-n-p</code> keymap to have <kbd>Return</kbd> return as if <kbd>y</kbd> had been pressed.</p>
<p>Its a fairly unique requirement but his approach works for other use cases where we want to add or change a key to an existing keymap. If you have such a need, take a look at mborks post.</p>
<p>As an aside, I should mention that mborks <a href="https://leanpub.com/hacking-your-way-emacs/">new book</a> is finished and available. I read a draft of his early chapters and thought it was well done. Take a look if youre interested in Emacs books.</p>