aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/array.el
diff options
context:
space:
mode:
authorStefan Monnier2021-04-08 14:36:51 -0400
committerStefan Monnier2021-04-08 14:36:51 -0400
commita45493f2596c566de253eca98dfd5b82224ea217 (patch)
tree9b84eba03fecaf74069c11de9e0bf00dd9136e5e /lisp/array.el
parent173d49b03ac945b700354f88b34fa61ea4000b42 (diff)
downloademacs-a45493f2596c566de253eca98dfd5b82224ea217.tar.gz
emacs-a45493f2596c566de253eca98dfd5b82224ea217.zip
* lisp/array.el: Use lexical-binding
Diffstat (limited to 'lisp/array.el')
-rw-r--r--lisp/array.el54
1 files changed, 27 insertions, 27 deletions
diff --git a/lisp/array.el b/lisp/array.el
index cd8971bd266..6632da55dd4 100644
--- a/lisp/array.el
+++ b/lisp/array.el
@@ -1,4 +1,4 @@
1;;; array.el --- array editing commands for GNU Emacs 1;;; array.el --- array editing commands for GNU Emacs -*- lexical-binding: t; -*-
2 2
3;; Copyright (C) 1987, 2000-2021 Free Software Foundation, Inc. 3;; Copyright (C) 1987, 2000-2021 Free Software Foundation, Inc.
4 4
@@ -769,25 +769,25 @@ Return COLUMN."
769 769
770(defvar array-mode-map 770(defvar array-mode-map
771 (let ((map (make-keymap))) 771 (let ((map (make-keymap)))
772 (define-key map "\M-ad" 'array-display-local-variables) 772 (define-key map "\M-ad" #'array-display-local-variables)
773 (define-key map "\M-am" 'array-make-template) 773 (define-key map "\M-am" #'array-make-template)
774 (define-key map "\M-ae" 'array-expand-rows) 774 (define-key map "\M-ae" #'array-expand-rows)
775 (define-key map "\M-ar" 'array-reconfigure-rows) 775 (define-key map "\M-ar" #'array-reconfigure-rows)
776 (define-key map "\M-a=" 'array-what-position) 776 (define-key map "\M-a=" #'array-what-position)
777 (define-key map "\M-ag" 'array-goto-cell) 777 (define-key map "\M-ag" #'array-goto-cell)
778 (define-key map "\M-af" 'array-fill-rectangle) 778 (define-key map "\M-af" #'array-fill-rectangle)
779 (define-key map "\C-n" 'array-next-row) 779 (define-key map "\C-n" #'array-next-row)
780 (define-key map "\C-p" 'array-previous-row) 780 (define-key map "\C-p" #'array-previous-row)
781 (define-key map "\C-f" 'array-forward-column) 781 (define-key map "\C-f" #'array-forward-column)
782 (define-key map "\C-b" 'array-backward-column) 782 (define-key map "\C-b" #'array-backward-column)
783 (define-key map "\M-n" 'array-copy-down) 783 (define-key map "\M-n" #'array-copy-down)
784 (define-key map "\M-p" 'array-copy-up) 784 (define-key map "\M-p" #'array-copy-up)
785 (define-key map "\M-f" 'array-copy-forward) 785 (define-key map "\M-f" #'array-copy-forward)
786 (define-key map "\M-b" 'array-copy-backward) 786 (define-key map "\M-b" #'array-copy-backward)
787 (define-key map "\M-\C-n" 'array-copy-row-down) 787 (define-key map "\M-\C-n" #'array-copy-row-down)
788 (define-key map "\M-\C-p" 'array-copy-row-up) 788 (define-key map "\M-\C-p" #'array-copy-row-up)
789 (define-key map "\M-\C-f" 'array-copy-column-forward) 789 (define-key map "\M-\C-f" #'array-copy-column-forward)
790 (define-key map "\M-\C-b" 'array-copy-column-backward) 790 (define-key map "\M-\C-b" #'array-copy-column-backward)
791 map) 791 map)
792 "Keymap used in array mode.") 792 "Keymap used in array mode.")
793 793
@@ -815,17 +815,17 @@ in array mode may have different values assigned to the variables.
815The variables are: 815The variables are:
816 816
817Variables you assign: 817Variables you assign:
818 array-max-row: The number of rows in the array. 818 `array-max-row': The number of rows in the array.
819 array-max-column: The number of columns in the array. 819 `array-max-column': The number of columns in the array.
820 array-columns-per-line: The number of columns in the array 820 `array-columns-per-line': The number of columns in the array
821 per line of buffer. 821 per line of buffer.
822 array-field-width: The width of each field, in characters. 822 `array-field-width': The width of each field, in characters.
823 array-rows-numbered: A logical variable describing whether to ignore 823 `array-rows-numbered': A logical variable describing whether to ignore
824 row numbers in the buffer. 824 row numbers in the buffer.
825 825
826Variables which are calculated: 826Variables which are calculated:
827 array-line-length: The number of characters in a buffer line. 827 `array-line-length': The number of characters in a buffer line.
828 array-lines-per-row: The number of buffer lines used to 828 `array-lines-per-row': The number of buffer lines used to
829 display each row. 829 display each row.
830 830
831 The following commands are available (an asterisk indicates it may 831 The following commands are available (an asterisk indicates it may