Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
34a71c1e
Commit
34a71c1e
authored
Sep 14, 1995
by
Richard M. Stallman
Browse files
(indent-for-tab-command): Get the prefix arg
and pass it along to indent-line-function if it isn't nil.
parent
719dcee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lisp/indent.el
lisp/indent.el
+5
-3
No files found.
lisp/indent.el
View file @
34a71c1e
...
...
@@ -38,12 +38,14 @@ Function to indent current line.")
(interactive)
(funcall indent-line-function))
(defun indent-for-tab-command ()
(defun indent-for-tab-command (
&optional prefix-arg
)
"
Indent
line
in
proper
way
for
current
major
mode.
"
(interactive)
(interactive
"
P
"
)
(if (eq indent-line-function 'indent-to-left-margin)
(insert-tab)
(funcall indent-line-function)))
(if prefix-arg
(funcall indent-line-function prefix-arg)
(funcall indent-line-function))))
(defun insert-tab ()
(if abbrev-mode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment