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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
2a96c2a7
Commit
2a96c2a7
authored
May 18, 2010
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* indent.el (indent-region): Deactivate region (bug#6200).
parent
d24e10b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/indent.el
lisp/indent.el
+5
-1
No files found.
lisp/ChangeLog
View file @
2a96c2a7
2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
* indent.el (indent-region): Deactivate region (bug#6200).
2010-05-19 Glenn Morris <rgm@gnu.org>
* vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
...
...
lisp/indent.el
View file @
2a96c2a7
...
...
@@ -431,7 +431,11 @@ column to indent to; if it is nil, use one of the three methods above."
(
or
(
eolp
)
(
indent-to
column
0
))
(
forward-line
1
))
(
move-marker
end
nil
))))
(
move-marker
end
nil
)))
;; In most cases, reindenting modifies the buffer, but it may also
;; leave it unmodified, in which case we have to deactivate the mark
;; by hand.
(
deactivate-mark
))
(
defun
indent-relative-maybe
()
"Indent a new line like previous nonblank line.
...
...
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