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
5f7fc6cf
Commit
5f7fc6cf
authored
May 01, 1995
by
Richard M. Stallman
Browse files
(buffer-substring-no-properties): New function.
parent
2bc9b0c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/subr.el
lisp/subr.el
+6
-0
No files found.
lisp/subr.el
View file @
5f7fc6cf
...
...
@@ -842,6 +842,12 @@ STRING should be given if the last search was by `string-match' on STRING."
(
substring
string
(
match-beginning
num
)
(
match-end
num
))
(
buffer-substring
(
match-beginning
num
)
(
match-end
num
)))))
(
defun
buffer-substring-no-properties
(
beg
end
)
"Return the text from BEG to END, without text properties, as a string."
(
let
((
string
(
buffer-substring
beg
end
)))
(
set-text-properties
0
(
length
string
)
nil
string
)
string
))
(
defun
shell-quote-argument
(
argument
)
"Quote an argument for passing as argument to an inferior shell."
;; Quote everything except POSIX filename characters.
...
...
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