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
4
Issues
4
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
95dccf75
Commit
95dccf75
authored
Sep 08, 1999
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fbufsize): Accept an extra BUFFER parameter.
parent
e52ad9c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
src/editfns.c
src/editfns.c
+11
-6
No files found.
src/editfns.c
View file @
95dccf75
...
...
@@ -427,13 +427,18 @@ Executes BODY just like `progn'.")
return
unbind_to
(
count
,
val
);
}
DEFUN
(
"buffer-size"
,
Fbufsize
,
Sbufsize
,
0
,
0
,
0
,
"Return the number of characters in the current buffer."
)
()
DEFUN
(
"buffer-size"
,
Fbufsize
,
Sbufsize
,
0
,
1
,
0
,
"Return the number of characters in the current buffer.
\n
\
If BUFFER, return the number of characters in that buffer instead."
)
(
buffer
)
Lisp_Object
buffer
;
{
Lisp_Object
temp
;
XSETFASTINT
(
temp
,
Z
-
BEG
);
return
temp
;
if
(
NILP
(
buffer
))
return
make_number
(
Z
-
BEG
);
else
{
CHECK_BUFFER
(
buffer
,
1
);
return
make_number
(
BUF_Z
(
XBUFFER
(
buffer
))
-
BUF_BEG
(
XBUFFER
(
buffer
)));
}
}
DEFUN
(
"point-min"
,
Fpoint_min
,
Spoint_min
,
0
,
0
,
0
,
...
...
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