Prevent open-line-above/below from doing completion if no indentation is needed
This commit is contained in:
parent
60307f6432
commit
47abe6c958
@ -485,7 +485,9 @@ Non-nil REVERSE means to sort in reverse order."
|
|||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(newline)
|
(newline)
|
||||||
(forward-line -1)
|
(forward-line -1)
|
||||||
(indent-for-tab-command))
|
(let ((tab-always-indent t)
|
||||||
|
(c-tab-always-indent t))
|
||||||
|
(indent-for-tab-command)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Open a new line below
|
*** Open a new line below
|
||||||
@ -500,7 +502,9 @@ Copied from [[http://whattheemacsd.com/editing-defuns.el-01.html][whattheemacsd.
|
|||||||
|
|
||||||
(end-of-line)
|
(end-of-line)
|
||||||
(newline)
|
(newline)
|
||||||
(indent-for-tab-command))
|
(let ((tab-always-indent t)
|
||||||
|
(c-tab-always-indent t))
|
||||||
|
(indent-for-tab-command)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Insert the current file’s name at point
|
*** Insert the current file’s name at point
|
||||||
|
Loading…
Reference in New Issue
Block a user