diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/bindings.el | 1 | ||||
| -rw-r--r-- | lisp/frame.el | 22 | ||||
| -rw-r--r-- | lisp/scroll-all.el | 1 | ||||
| -rw-r--r-- | lisp/window.el | 2 |
5 files changed, 19 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b2a3f135109..a21d5841346 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-04-15 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * frame.el (scrolling): Remove nearly unused customization group. | ||
| 4 | |||
| 5 | * scroll-all.el (scroll-all-mode): Move to windows group. | ||
| 6 | |||
| 7 | 2012-04-15 Chong Yidong <cyd@gnu.org> | ||
| 8 | |||
| 9 | * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240). | ||
| 10 | |||
| 1 | 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca> | 11 | 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 12 | ||
| 3 | Avoid the use of ((lambda ...) ...) in lexical-binding code. | 13 | Avoid the use of ((lambda ...) ...) in lexical-binding code. |
diff --git a/lisp/bindings.el b/lisp/bindings.el index a87f321c936..8cfeecf5b40 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -868,6 +868,7 @@ if `inhibit-field-text-motion' is non-nil." | |||
| 868 | "Keymap for navigation commands.") | 868 | "Keymap for navigation commands.") |
| 869 | (define-key esc-map "g" goto-map) | 869 | (define-key esc-map "g" goto-map) |
| 870 | 870 | ||
| 871 | (define-key goto-map "c" 'goto-char) | ||
| 871 | (define-key goto-map "g" 'goto-line) | 872 | (define-key goto-map "g" 'goto-line) |
| 872 | (define-key goto-map "\M-g" 'goto-line) | 873 | (define-key goto-map "\M-g" 'goto-line) |
| 873 | (define-key goto-map "n" 'next-error) | 874 | (define-key goto-map "n" 'next-error) |
diff --git a/lisp/frame.el b/lisp/frame.el index 1cd6c0cf181..79e1243c7af 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1557,21 +1557,6 @@ left untouched. FRAME nil or omitted means use the selected frame." | |||
| 1557 | 'delete-frame-functions "22.1") | 1557 | 'delete-frame-functions "22.1") |
| 1558 | 1558 | ||
| 1559 | 1559 | ||
| 1560 | ;; Highlighting trailing whitespace. | ||
| 1561 | |||
| 1562 | (make-variable-buffer-local 'show-trailing-whitespace) | ||
| 1563 | |||
| 1564 | |||
| 1565 | ;; Scrolling | ||
| 1566 | |||
| 1567 | (defgroup scrolling nil | ||
| 1568 | "Scrolling windows." | ||
| 1569 | :version "21.1" | ||
| 1570 | :group 'frames) | ||
| 1571 | |||
| 1572 | (defvaralias 'automatic-hscrolling 'auto-hscroll-mode) | ||
| 1573 | |||
| 1574 | |||
| 1575 | ;; Blinking cursor | 1560 | ;; Blinking cursor |
| 1576 | 1561 | ||
| 1577 | (defgroup cursor nil | 1562 | (defgroup cursor nil |
| @@ -1663,6 +1648,13 @@ terminals, cursor blinking is controlled by the terminal." | |||
| 1663 | (define-key ctl-x-5-map "0" 'delete-frame) | 1648 | (define-key ctl-x-5-map "0" 'delete-frame) |
| 1664 | (define-key ctl-x-5-map "o" 'other-frame) | 1649 | (define-key ctl-x-5-map "o" 'other-frame) |
| 1665 | 1650 | ||
| 1651 | |||
| 1652 | ;; Misc. | ||
| 1653 | |||
| 1654 | (defvaralias 'automatic-hscrolling 'auto-hscroll-mode) | ||
| 1655 | |||
| 1656 | (make-variable-buffer-local 'show-trailing-whitespace) | ||
| 1657 | |||
| 1666 | (provide 'frame) | 1658 | (provide 'frame) |
| 1667 | 1659 | ||
| 1668 | ;;; frame.el ends here | 1660 | ;;; frame.el ends here |
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el index 9ff0a61db2f..fed886c2b55 100644 --- a/lisp/scroll-all.el +++ b/lisp/scroll-all.el | |||
| @@ -111,7 +111,6 @@ one window apply to all visible windows in the same frame." | |||
| 111 | nil " *SL*" nil | 111 | nil " *SL*" nil |
| 112 | :global t | 112 | :global t |
| 113 | :group 'windows | 113 | :group 'windows |
| 114 | :group 'scrolling | ||
| 115 | (if scroll-all-mode | 114 | (if scroll-all-mode |
| 116 | (add-hook 'post-command-hook 'scroll-all-check-to-scroll) | 115 | (add-hook 'post-command-hook 'scroll-all-check-to-scroll) |
| 117 | (remove-hook 'post-command-hook 'scroll-all-check-to-scroll))) | 116 | (remove-hook 'post-command-hook 'scroll-all-check-to-scroll))) |
diff --git a/lisp/window.el b/lisp/window.el index ca2cc9e7950..934b6067d08 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -5443,7 +5443,7 @@ A value of t means point moves to the beginning or the end of the buffer | |||
| 5443 | \(depending on scrolling direction) when no more scrolling possible. | 5443 | \(depending on scrolling direction) when no more scrolling possible. |
| 5444 | When point is already on that position, then signal an error." | 5444 | When point is already on that position, then signal an error." |
| 5445 | :type 'boolean | 5445 | :type 'boolean |
| 5446 | :group 'scrolling | 5446 | :group 'windows |
| 5447 | :version "24.1") | 5447 | :version "24.1") |
| 5448 | 5448 | ||
| 5449 | (defun scroll-up-command (&optional arg) | 5449 | (defun scroll-up-command (&optional arg) |