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
7620dcc5
Commit
7620dcc5
authored
Dec 23, 1993
by
Richard M. Stallman
Browse files
(c-delete-backslash): Do nothing if empty line.
parent
9f370a90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/progmodes/c-mode.el
lisp/progmodes/c-mode.el
+6
-4
No files found.
lisp/progmodes/c-mode.el
View file @
7620dcc5
...
...
@@ -1314,10 +1314,12 @@ definition and conveniently use this command."
(
defun
c-delete-backslash
()
(
end-of-line
)
(
forward-char
-1
)
(
if
(
looking-at
"\\\\"
)
(
delete-region
(
1+
(
point
))
(
progn
(
skip-chars-backward
" \t"
)
(
point
)))))
(
or
(
bolp
)
(
progn
(
forward-char
-1
)
(
if
(
looking-at
"\\\\"
)
(
delete-region
(
1+
(
point
))
(
progn
(
skip-chars-backward
" \t"
)
(
point
)))))))
(
defun
c-up-conditional
(
count
)
"Move back to the containing preprocessor conditional, leaving mark behind.
...
...
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