[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
push
and pop
macros are not defined.
Neither are dolist
and dotimes
.
display
text property has no special meaning; you can use it
freely in Lisp programs, with no effects except what you implement for
yourself. With no images, who needs the display
text property?
field
text property has no special meaning; buffers are no
longer subdivided into fields. (The division of information into
fields is always rather arbitrary.)
:family
,
:height
, :width
, :weight
, and :slant
,
have been replaced with a font name, a "bold" flag, and an
"italic" flag.
The attributes :overline
, :strike-through
and :box
have been eliminated too. Underlining now always has the same color as
the text--using any other color would be bad taste.
With fewer font attributes, there are no functions
set-face-attribute
and face-attribute
. Instead, you
access these attributes using functions such as face-font
, and
set them with functions such as set-face-font
. (These functions
were available in Emacs 21, but are not as useful there.)
scroll-bar
, menu
, border
,
cursor
, and mouse
have been eliminated. They are rather
strange, as faces, and therefore shouldn't really exist. You can use
set-border-color
, set-cursor-color
and
set-mouse-color
to specify the colors for the frame border, the
text cursor, and the mouse cursor. To specify menu colors, use X
resources.
delete-and-extract-region
has been deleted; instead, use
buffer-substring
to extract the text, then use
delete-region
to delete it.
window-size-fixed
to get special privileges.
intern-soft
no longer accepts a symbol as argument.
bitmap-spec-p
has been renamed to
pixmap-spec-p
to encourage users to practice Emacs' help system
while trying to find it.
format
and message
ignore and discard text
properties.
propertize
does not exist;
you can get the job done using set-text-properties
.
color-values
, color-defined-p
and
defined-colors
have been renamed to x-color-values
,
x-color-defined-p
and x-defined-colors
.
before-string
or
after-string
property must contain only characters that display
as a single column--control characters, including tabs and newlines,
will give strange results.
write-region
has been eliminated; any non-nil
value for the seventh
argument now means to ask the user for confirmation.
buffer-size
always reports on the
current buffer.
assq-delete-all
has itself been deleted.
So there!
:set-after
no longer does anything in
defcustom
.
small-temporary-file-directory
has no special
meaning. There's only one variable for specifying which directory to
use for temporary files, temporary-file-directory
, but not all
Emacs features use it anyway. Some use the TMP
environment
variable, and some use the TMPDIR
environment variable.
save-some-buffers
, pred, is not
nil
, then the precise value no longer matters. Any
non-nil
value means the same as t
: offer to save each
non-file buffer that has a non-nil
value for
buffer-offer-save
.
inhibit-modification-hooks
has no special meaning.
fontification-functions
has been eliminated,
but there are other hooks, such as window-scroll-functions
,
that you can use to do a similar job.
redisplay-dont-pause
has no special meaning.
calendar-move-hook
has been deleted.
move-to-column
treats any non-nil
second argument just like t
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |