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
d2936d21
Commit
d2936d21
authored
Nov 15, 2001
by
Richard M. Stallman
Browse files
(Fpropertize): Allow call with 1 arg.
parent
c26e3f6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/ChangeLog
src/ChangeLog
+2
-0
src/editfns.c
src/editfns.c
+2
-2
No files found.
src/ChangeLog
View file @
d2936d21
2001-11-14 Richard M. Stallman <rms@gnu.org>
* editfns.c (Fpropertize): Allow call with 1 arg.
* dispextern.h (image_background, image_background_transparent):
Conditionalize on HAVE_X_WINDOWS.
...
...
src/editfns.c
View file @
d2936d21
...
...
@@ -3082,7 +3082,7 @@ DEFUN ("current-message", Fcurrent_message, Scurrent_message, 0, 0, 0,
}
DEFUN
(
"propertize"
,
Fpropertize
,
Spropertize
,
3
,
MANY
,
0
,
DEFUN
(
"propertize"
,
Fpropertize
,
Spropertize
,
1
,
MANY
,
0
,
doc
:
/* Return a copy of STRING with text properties added.
First argument is the string to copy.
Remaining arguments form a sequence of PROPERTY VALUE pairs for text
...
...
@@ -3097,7 +3097,7 @@ usage: (propertize STRING &rest PROPERTIES) */)
int
i
;
/* Number of args must be odd. */
if
((
nargs
&
1
)
==
0
||
nargs
<
3
)
if
((
nargs
&
1
)
==
0
||
nargs
<
1
)
error
(
"Wrong number of arguments"
);
properties
=
string
=
Qnil
;
...
...
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