diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/bindings.el | 1 | ||||
| -rw-r--r-- | lisp/scroll-lock.el | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 0be14587981..16da2bdf9a6 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -1054,6 +1054,7 @@ if `inhibit-field-text-motion' is non-nil." | |||
| 1054 | ;(define-key global-map [delete] 'backward-delete-char) | 1054 | ;(define-key global-map [delete] 'backward-delete-char) |
| 1055 | 1055 | ||
| 1056 | ;; natural bindings for terminal keycaps --- defined in X keysym order | 1056 | ;; natural bindings for terminal keycaps --- defined in X keysym order |
| 1057 | (define-key global-map [Scroll_Lock] 'scroll-lock-mode) | ||
| 1057 | (define-key global-map [C-S-backspace] 'kill-whole-line) | 1058 | (define-key global-map [C-S-backspace] 'kill-whole-line) |
| 1058 | (define-key global-map [home] 'move-beginning-of-line) | 1059 | (define-key global-map [home] 'move-beginning-of-line) |
| 1059 | (define-key global-map [C-home] 'beginning-of-buffer) | 1060 | (define-key global-map [C-home] 'beginning-of-buffer) |
diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el index 3a74c11b7a1..36e2264fe4f 100644 --- a/lisp/scroll-lock.el +++ b/lisp/scroll-lock.el | |||
| @@ -54,7 +54,10 @@ | |||
| 54 | When enabled, keys that normally move point by line or paragraph | 54 | When enabled, keys that normally move point by line or paragraph |
| 55 | will scroll the buffer by the respective amount of lines instead | 55 | will scroll the buffer by the respective amount of lines instead |
| 56 | and point will be kept vertically fixed relative to window | 56 | and point will be kept vertically fixed relative to window |
| 57 | boundaries during scrolling." | 57 | boundaries during scrolling. |
| 58 | |||
| 59 | Note that the default key binding to Scroll_Lock will not work on | ||
| 60 | MS-Windows systems if `w32-scroll-lock-modifier' is non-nil." | ||
| 58 | :lighter " ScrLck" | 61 | :lighter " ScrLck" |
| 59 | :keymap scroll-lock-mode-map | 62 | :keymap scroll-lock-mode-map |
| 60 | (if scroll-lock-mode | 63 | (if scroll-lock-mode |