89 |
|
|
90 |
* Changes in Emacs 21.4 |
* Changes in Emacs 21.4 |
91 |
|
|
92 |
** New minor mode `vis-mode' toggles invisibility in the current buffer. |
+++ |
93 |
|
** The old bindings C-M-delete and C-M-backspace have been deleted, |
94 |
|
since there are situations where one or the other will shut down |
95 |
|
the operating system or your X server. |
96 |
|
|
97 |
|
** New minor mode, Visible mode, toggles invisibility in the current buffer. |
98 |
When enabled, it makes all invisible text visible. When disabled, it |
When enabled, it makes all invisible text visible. When disabled, it |
99 |
restores the previous value of `buffer-invisibility-spec'. |
restores the previous value of `buffer-invisibility-spec'. |
100 |
|
|
1598 |
|
|
1599 |
* Lisp Changes in Emacs 21.4 |
* Lisp Changes in Emacs 21.4 |
1600 |
|
|
1601 |
|
** The new function `window-inside-edges' returns the edges of the |
1602 |
|
actual text portion of the window, not including the scroll bar or |
1603 |
|
divider line, the fringes, the display margins, the header line and |
1604 |
|
the mode line. |
1605 |
|
|
1606 |
|
** The new functions `window-pixel-edges' and `window-inside-pixel-edges' |
1607 |
|
return window edges in units of pixels, rather than columns and lines. |
1608 |
|
|
1609 |
** The kill-buffer-hook is now permanent-local. |
** The kill-buffer-hook is now permanent-local. |
1610 |
|
|
1611 |
** The `local-map' property now also works at the ends of overlays and |
** The `local-map' property now also works at the ends of overlays and |
1627 |
Old code still works thanks to a default `find-version' behavior that |
Old code still works thanks to a default `find-version' behavior that |
1628 |
uses the old `destfile' parameter. |
uses the old `destfile' parameter. |
1629 |
|
|
1630 |
|
** The new macro dynamic-completion-table supports using functions |
1631 |
|
as a dynamic completion table. |
1632 |
|
|
1633 |
|
(dynamic-completion-table FUN) |
1634 |
|
|
1635 |
|
FUN is called with one argument, the string for which completion is required, |
1636 |
|
and it should return an alist containing all the intended possible |
1637 |
|
completions. This alist may be a full list of possible completions so that FUN |
1638 |
|
can ignore the value of its argument. If completion is performed in the |
1639 |
|
minibuffer, FUN will be called in the buffer from which the minibuffer was |
1640 |
|
entered. dynamic-completion-table then computes the completion. |
1641 |
|
|
1642 |
|
** The new macro lazy-completion-table initializes a variable |
1643 |
|
as a lazy completion table. |
1644 |
|
|
1645 |
|
(lazy-completion-table VAR FUN &rest ARGS) |
1646 |
|
|
1647 |
|
If the completion table VAR is used for the first time (e.g., by passing VAR |
1648 |
|
as an argument to `try-completion'), the function FUN is called with arguments |
1649 |
|
ARGS. FUN must return the completion table that will be stored in VAR. If |
1650 |
|
completion is requested in the minibuffer, FUN will be called in the buffer |
1651 |
|
from which the minibuffer was entered. The return value of |
1652 |
|
`lazy-completion-table' must be used to initialize the value of VAR. |
1653 |
|
|
1654 |
** `minor-mode-list' now holds a list of minor mode commands. |
** `minor-mode-list' now holds a list of minor mode commands. |
1655 |
|
|
1656 |
** The new command `modify-all-frames-parameters' modifies parameters |
** The new command `modify-all-frames-parameters' modifies parameters |