; Improve docs for last change.

This commit is contained in:
Sean Whitton 2026-01-15 11:12:07 +00:00
parent 6d0d71de68
commit f41a594bf3
2 changed files with 6 additions and 5 deletions

View file

@ -2061,11 +2061,12 @@ saved to the file specified by 'ielm-history-file-name', just like when
you exit the Emacs session or kill the IELM buffer.
---
*** New value 'point' for user option 'ielm-dynamic-return'
*** New value 'point' for user option 'ielm-dynamic-return'.
When 'ielm-dynamic-return' is set to 'point', typing RET has dynamic
behavior based on if point is inside an sexp. While the point is inside
an sexp typing RET inserts a newline, otherwise the sexp is evaluated.
This is useful when the mode 'electric-pair-mode' is enabled.
behavior based on whether point is inside an sexp. While point is
inside an sexp typing RET inserts a newline, and otherwise Emacs
proceeds with evaluating the expression. This is useful when
'electric-pair-mode', or a similar automatic pairing mode, is enabled.
** DocView

View file

@ -102,7 +102,7 @@ If nil, always insert newlines.
If `point', insert newline if the point is in the middle of an sexp,
otherwise evaluate input. This is useful if you have
`electric-pair-mode' enabled.
`electric-pair-mode', or a similar mode, enabled.
If any other non-nil value, insert newline for incomplete sexp input and
evaluate input for complete sexps. This is similar to the behavior in