Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also detect minibuffer-mode #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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: 3 additions & 1 deletion lispy-inline.el
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ The caller of `lispy--show' might use a substitute e.g. `describe-function'."
:group 'lispy)

(defvar lispy-elisp-modes
'(emacs-lisp-mode lisp-interaction-mode eltex-mode minibuffer-inactive-mode
'(emacs-lisp-mode lisp-interaction-mode eltex-mode
minibuffer-mode
minibuffer-inactive-mode
suggest-mode)
"Modes for which `lispy--eval-elisp' and related functions are appropriate.")

Expand Down
3 changes: 2 additions & 1 deletion lispy.el
Original file line number Diff line number Diff line change
Expand Up @@ -7925,7 +7925,8 @@ Defaults to `error'."
(forward-line 1))
(move-marker end nil)))

(defvar lispy-no-indent-modes '(minibuffer-inactive-mode
(defvar lispy-no-indent-modes '(minibuffer-mode
minibuffer-inactive-mode
comint-mode)
"List of major modes where `indent-for-tab-command' should not be used.
`lispy--indent-for-tab' will do nothing if the current mode or any of its parent
Expand Down