diff options
| author | Stefan Monnier | 2021-01-04 20:57:42 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2021-01-04 20:57:42 -0500 |
| commit | 898a94a9be06a3ab51116778f6b4a263f832759d (patch) | |
| tree | 5435a6d3711606dbb778c7d655b8d743de477cef | |
| parent | 80e26472206cc44837521ba594cd50e724d9af5c (diff) | |
| download | emacs-898a94a9be06a3ab51116778f6b4a263f832759d.tar.gz emacs-898a94a9be06a3ab51116778f6b4a263f832759d.zip | |
Use lexical-binding in the remaining preloaded files
* lisp/widget.el:
* lisp/w32-fns.el:
* lisp/textmodes/fill.el:
* lisp/term/common-win.el:
* lisp/scroll-bar.el:
* lisp/rfn-eshadow.el:
* lisp/menu-bar.el:
* lisp/language/tibetan.el:
* lisp/language/thai.el:
* lisp/language/misc-lang.el:
* lisp/language/lao.el:
* lisp/language/korean.el:
* lisp/language/japanese.el:
* lisp/language/indian.el:
* lisp/language/hebrew.el:
* lisp/language/european.el:
* lisp/language/ethiopic.el:
* lisp/language/english.el:
* lisp/language/cyrillic.el:
* lisp/language/chinese.el:
* lisp/jka-cmpr-hook.el:
* lisp/international/ucs-normalize.el:
* lisp/international/mule.el:
* lisp/international/mule-conf.el:
* lisp/international/iso-transl.el:
* lisp/international/fontset.el:
* lisp/international/characters.el:
* lisp/format.el:
* lisp/facemenu.el:
* lisp/electric.el:
* lisp/dos-w32.el:
* lisp/dos-fns.el:
* lisp/disp-table.el:
* lisp/cus-face.el:
* lisp/composite.el:
* lisp/bindings.el:
* admin/unidata/blocks.awk:
* admin/charsets/eucjp-ms.awk:
* admin/charsets/cp51932.awk: Use `lexical-binding`.
41 files changed, 73 insertions, 77 deletions
diff --git a/admin/charsets/cp51932.awk b/admin/charsets/cp51932.awk index c3555095249..22b24af1ef5 100644 --- a/admin/charsets/cp51932.awk +++ b/admin/charsets/cp51932.awk | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | # already been mapped to 1 or 3. | 31 | # already been mapped to 1 or 3. |
| 32 | 32 | ||
| 33 | BEGIN { | 33 | BEGIN { |
| 34 | print ";;; cp51932.el -- translation table for CP51932"; | 34 | print ";;; cp51932.el -- translation table for CP51932 -*- lexical-binding:t -*-"; |
| 35 | print ";;; Automatically generated from CP932-2BYTE.map"; | 35 | print ";;; Automatically generated from CP932-2BYTE.map"; |
| 36 | print "(let ((map"; | 36 | print "(let ((map"; |
| 37 | printf " '(;JISEXT<->UNICODE"; | 37 | printf " '(;JISEXT<->UNICODE"; |
diff --git a/admin/charsets/eucjp-ms.awk b/admin/charsets/eucjp-ms.awk index f6a6748ce51..ca9a317611b 100644 --- a/admin/charsets/eucjp-ms.awk +++ b/admin/charsets/eucjp-ms.awk | |||
| @@ -38,7 +38,7 @@ BEGIN { | |||
| 38 | JISX0208_FROM2 = "/xf5/xa1"; | 38 | JISX0208_FROM2 = "/xf5/xa1"; |
| 39 | JISX0212_FROM = "/x8f/xf3/xf3"; | 39 | JISX0212_FROM = "/x8f/xf3/xf3"; |
| 40 | 40 | ||
| 41 | print ";;; eucjp-ms.el -- translation table for eucJP-ms"; | 41 | print ";;; eucjp-ms.el -- translation table for eucJP-ms -*- lexical-binding:t -*-"; |
| 42 | print ";;; Automatically generated from /usr/share/i18n/charmaps/EUC-JP-MS.gz"; | 42 | print ";;; Automatically generated from /usr/share/i18n/charmaps/EUC-JP-MS.gz"; |
| 43 | print "(let ((map"; | 43 | print "(let ((map"; |
| 44 | print " '(;JISEXT<->UNICODE"; | 44 | print " '(;JISEXT<->UNICODE"; |
diff --git a/admin/unidata/blocks.awk b/admin/unidata/blocks.awk index 986d299e666..4ecb233fe7b 100755 --- a/admin/unidata/blocks.awk +++ b/admin/unidata/blocks.awk | |||
| @@ -203,7 +203,7 @@ function name2alias(name , w, w2) { | |||
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | END { | 205 | END { |
| 206 | print ";;; charscript.el --- character script table" | 206 | print ";;; charscript.el --- character script table -*- lexical-binding:t -*-" |
| 207 | print ";;; Automatically generated from admin/unidata/Blocks.txt" | 207 | print ";;; Automatically generated from admin/unidata/Blocks.txt" |
| 208 | print "(let (script-list)" | 208 | print "(let (script-list)" |
| 209 | print " (dolist (elt '(" | 209 | print " (dolist (elt '(" |
diff --git a/lisp/bindings.el b/lisp/bindings.el index b68d55e73d8..187444af664 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; bindings.el --- define standard key bindings and some variables | 1 | ;;; bindings.el --- define standard key bindings and some variables -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1987, 1992-1996, 1999-2021 Free Software | 3 | ;; Copyright (C) 1985-1987, 1992-1996, 1999-2021 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
| @@ -856,7 +856,7 @@ in contrast with \\[forward-char] and \\[backward-char], which | |||
| 856 | see." | 856 | see." |
| 857 | (interactive "^p") | 857 | (interactive "^p") |
| 858 | (if visual-order-cursor-movement | 858 | (if visual-order-cursor-movement |
| 859 | (dotimes (i (if (numberp n) (abs n) 1)) | 859 | (dotimes (_ (if (numberp n) (abs n) 1)) |
| 860 | (move-point-visually (if (and (numberp n) (< n 0)) -1 1))) | 860 | (move-point-visually (if (and (numberp n) (< n 0)) -1 1))) |
| 861 | (if (eq (current-bidi-paragraph-direction) 'left-to-right) | 861 | (if (eq (current-bidi-paragraph-direction) 'left-to-right) |
| 862 | (forward-char n) | 862 | (forward-char n) |
| @@ -874,7 +874,7 @@ in contrast with \\[forward-char] and \\[backward-char], which | |||
| 874 | see." | 874 | see." |
| 875 | (interactive "^p") | 875 | (interactive "^p") |
| 876 | (if visual-order-cursor-movement | 876 | (if visual-order-cursor-movement |
| 877 | (dotimes (i (if (numberp n) (abs n) 1)) | 877 | (dotimes (_ (if (numberp n) (abs n) 1)) |
| 878 | (move-point-visually (if (and (numberp n) (< n 0)) 1 -1))) | 878 | (move-point-visually (if (and (numberp n) (< n 0)) 1 -1))) |
| 879 | (if (eq (current-bidi-paragraph-direction) 'left-to-right) | 879 | (if (eq (current-bidi-paragraph-direction) 'left-to-right) |
| 880 | (backward-char n) | 880 | (backward-char n) |
diff --git a/lisp/composite.el b/lisp/composite.el index 7337605d4a9..6f654df15aa 100644 --- a/lisp/composite.el +++ b/lisp/composite.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; composite.el --- support character composition | 1 | ;;; composite.el --- support character composition -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -593,7 +593,6 @@ All non-spacing characters have this function in | |||
| 593 | (as (lglyph-ascent glyph)) | 593 | (as (lglyph-ascent glyph)) |
| 594 | (de (lglyph-descent glyph)) | 594 | (de (lglyph-descent glyph)) |
| 595 | (ce (/ (+ lb rb) 2)) | 595 | (ce (/ (+ lb rb) 2)) |
| 596 | (w (lglyph-width glyph)) | ||
| 597 | xoff yoff) | 596 | xoff yoff) |
| 598 | (cond | 597 | (cond |
| 599 | ((and class (>= class 200) (<= class 240)) | 598 | ((and class (>= class 200) (<= class 240)) |
| @@ -653,7 +652,8 @@ All non-spacing characters have this function in | |||
| 653 | ((and (= class 0) | 652 | ((and (= class 0) |
| 654 | (eq (get-char-code-property (lglyph-char glyph) | 653 | (eq (get-char-code-property (lglyph-char glyph) |
| 655 | ;; Me = enclosing mark | 654 | ;; Me = enclosing mark |
| 656 | 'general-category) 'Me)) | 655 | 'general-category) |
| 656 | 'Me)) | ||
| 657 | ;; Artificially laying out glyphs in an enclosing | 657 | ;; Artificially laying out glyphs in an enclosing |
| 658 | ;; mark is difficult. All we can do is to adjust | 658 | ;; mark is difficult. All we can do is to adjust |
| 659 | ;; the x-offset and width of the base glyph to | 659 | ;; the x-offset and width of the base glyph to |
| @@ -695,9 +695,7 @@ All non-spacing characters have this function in | |||
| 695 | 695 | ||
| 696 | (defun compose-gstring-for-dotted-circle (gstring direction) | 696 | (defun compose-gstring-for-dotted-circle (gstring direction) |
| 697 | (let* ((dc (lgstring-glyph gstring 0)) ; glyph of dotted-circle | 697 | (let* ((dc (lgstring-glyph gstring 0)) ; glyph of dotted-circle |
| 698 | (dc-id (lglyph-code dc)) | ||
| 699 | (fc (lgstring-glyph gstring 1)) ; glyph of the following char | 698 | (fc (lgstring-glyph gstring 1)) ; glyph of the following char |
| 700 | (fc-id (lglyph-code fc)) | ||
| 701 | (gstr (and nil (font-shape-gstring gstring direction)))) | 699 | (gstr (and nil (font-shape-gstring gstring direction)))) |
| 702 | (if (and gstr | 700 | (if (and gstr |
| 703 | (or (= (lgstring-glyph-len gstr) 1) | 701 | (or (= (lgstring-glyph-len gstr) 1) |
diff --git a/lisp/cus-face.el b/lisp/cus-face.el index 7d9d1fe13ae..5dcb2842a21 100644 --- a/lisp/cus-face.el +++ b/lisp/cus-face.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; cus-face.el --- customization support for faces | 1 | ;;; cus-face.el --- customization support for faces -*- lexical-binding: t; -*- |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1996-1997, 1999-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996-1997, 1999-2021 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
diff --git a/lisp/disp-table.el b/lisp/disp-table.el index 6de14b1d297..a7fc8f0a76e 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; disp-table.el --- functions for dealing with char tables | 1 | ;;; disp-table.el --- functions for dealing with char tables -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 1994-1995, 1999, 2001-2021 Free Software | 3 | ;; Copyright (C) 1987, 1994-1995, 1999, 2001-2021 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index 5d4aa7843f1..255edd0f371 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; dos-fns.el --- MS-Dos specific functions | 1 | ;;; dos-fns.el --- MS-Dos specific functions -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1991, 1993, 1995-1996, 2001-2021 Free Software | 3 | ;; Copyright (C) 1991, 1993, 1995-1996, 2001-2021 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index e902491446c..cf753214624 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms | 1 | ;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996, 2001-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -154,13 +154,15 @@ when writing the file." | |||
| 154 | ;; FIXME: Can't we use find-file-literally for the same purposes? | 154 | ;; FIXME: Can't we use find-file-literally for the same purposes? |
| 155 | (interactive "FFind file binary: ") | 155 | (interactive "FFind file binary: ") |
| 156 | (let ((coding-system-for-read 'no-conversion)) ;; FIXME: undecided-unix? | 156 | (let ((coding-system-for-read 'no-conversion)) ;; FIXME: undecided-unix? |
| 157 | (find-file filename))) | 157 | (with-suppressed-warnings ((interactive-only find-file)) |
| 158 | (find-file filename)))) | ||
| 158 | 159 | ||
| 159 | (defun find-file-text (filename) | 160 | (defun find-file-text (filename) |
| 160 | "Visit file FILENAME and treat it as a text file." | 161 | "Visit file FILENAME and treat it as a text file." |
| 161 | (interactive "FFind file text: ") | 162 | (interactive "FFind file text: ") |
| 162 | (let ((coding-system-for-read 'undecided-dos)) | 163 | (let ((coding-system-for-read 'undecided-dos)) |
| 163 | (find-file filename))) | 164 | (with-suppressed-warnings ((interactive-only find-file)) |
| 165 | (find-file filename)))) | ||
| 164 | 166 | ||
| 165 | (defun w32-find-file-not-found-set-buffer-file-coding-system () | 167 | (defun w32-find-file-not-found-set-buffer-file-coding-system () |
| 166 | (with-current-buffer (current-buffer) | 168 | (with-current-buffer (current-buffer) |
| @@ -261,6 +263,8 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." | |||
| 261 | :group 'dos-fns | 263 | :group 'dos-fns |
| 262 | :group 'w32) | 264 | :group 'w32) |
| 263 | 265 | ||
| 266 | (defvar w32-quote-process-args) | ||
| 267 | |||
| 264 | ;; Function to actually send data to the printer port. | 268 | ;; Function to actually send data to the printer port. |
| 265 | ;; Supports writing directly, and using various programs. | 269 | ;; Supports writing directly, and using various programs. |
| 266 | (defun w32-direct-print-region-helper (printer | 270 | (defun w32-direct-print-region-helper (printer |
diff --git a/lisp/electric.el b/lisp/electric.el index 506e9aa0f7c..6701a36d8bb 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; electric.el --- window maker and Command loop for `electric' modes | 1 | ;;; electric.el --- window maker and Command loop for `electric' modes -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1995, 2001-2021 Free Software Foundation, | 3 | ;; Copyright (C) 1985-1986, 1995, 2001-2021 Free Software Foundation, |
| 4 | ;; Inc. | 4 | ;; Inc. |
| @@ -385,6 +385,8 @@ If multiple rules match, only first one is executed.") | |||
| 385 | (when electric-layout-mode | 385 | (when electric-layout-mode |
| 386 | (electric-layout-post-self-insert-function-1))) | 386 | (electric-layout-post-self-insert-function-1))) |
| 387 | 387 | ||
| 388 | (defvar electric-pair-open-newline-between-pairs) | ||
| 389 | |||
| 388 | ;; for edebug's sake, a separate function | 390 | ;; for edebug's sake, a separate function |
| 389 | (defun electric-layout-post-self-insert-function-1 () | 391 | (defun electric-layout-post-self-insert-function-1 () |
| 390 | (let* ((pos (electric--after-char-pos)) | 392 | (let* ((pos (electric--after-char-pos)) |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index d362adcc9b7..2609397b0d9 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; facemenu.el --- create a face menu for interactively adding fonts to text | 1 | ;;; facemenu.el --- create a face menu for interactively adding fonts to text -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994-1996, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-1996, 2001-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/font-core.el b/lisp/font-core.el index 38307bb1576..0f1a3d1c364 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; font-core.el --- Core interface to font-lock | 1 | ;;; font-core.el --- Core interface to font-lock -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/format.el b/lisp/format.el index df3bc462c92..4209fc6401a 100644 --- a/lisp/format.el +++ b/lisp/format.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; format.el --- read and save files in multiple formats | 1 | ;;; format.el --- read and save files in multiple formats -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994-1995, 1997, 1999, 2001-2021 Free Software | 3 | ;; Copyright (C) 1994-1995, 1997, 1999, 2001-2021 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
| @@ -419,7 +419,8 @@ If FORMAT is nil then do not do any format conversion." | |||
| 419 | (file-name-nondirectory file))))) | 419 | (file-name-nondirectory file))))) |
| 420 | (list file fmt))) | 420 | (list file fmt))) |
| 421 | (let ((format-alist nil)) | 421 | (let ((format-alist nil)) |
| 422 | (find-file filename)) | 422 | (with-suppressed-warnings ((interactive-only find-file)) |
| 423 | (find-file filename))) | ||
| 423 | (if format | 424 | (if format |
| 424 | (format-decode-buffer format))) | 425 | (format-decode-buffer format))) |
| 425 | 426 | ||
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 6924e1c06db..87e8589e6fd 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; characters.el --- set syntax and category for multibyte characters | 1 | ;;; characters.el --- set syntax and category for multibyte characters -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2000-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2000-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 4d80e17e3db..14e7b89dd1f 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; fontset.el --- commands for handling fontset | 1 | ;;; fontset.el --- commands for handling fontset -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el index 8b5814e577c..2c7da2b7cdf 100644 --- a/lisp/international/iso-transl.el +++ b/lisp/international/iso-transl.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; iso-transl.el --- keyboard input for ISO 10646 chars -*- coding: utf-8 -*- | 1 | ;;; iso-transl.el --- keyboard input for ISO 10646 chars -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 1993-1999, 2001-2021 Free Software Foundation, | 3 | ;; Copyright (C) 1987, 1993-1999, 2001-2021 Free Software Foundation, |
| 4 | ;; Inc. | 4 | ;; Inc. |
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 662f211bd28..64aac46fcee 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; mule-conf.el --- configure multilingual environment | 1 | ;;; mule-conf.el --- configure multilingual environment -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index d3a1005dae5..6a32cffe9a6 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; mule.el --- basic commands for multilingual environment | 1 | ;;; mule.el --- basic commands for multilingual environment -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index d1b5c077813..0f8dedfc09b 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; ucs-normalize.el --- Unicode normalization NFC/NFD/NFKD/NFKC | 1 | ;;; ucs-normalize.el --- Unicode normalization NFC/NFD/NFKD/NFKC -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2009-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2009-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -185,7 +185,7 @@ | |||
| 185 | ;; always returns nil, something the code here doesn't like. | 185 | ;; always returns nil, something the code here doesn't like. |
| 186 | (define-char-code-property 'decomposition "uni-decomposition.el") | 186 | (define-char-code-property 'decomposition "uni-decomposition.el") |
| 187 | (define-char-code-property 'canonical-combining-class "uni-combining.el") | 187 | (define-char-code-property 'canonical-combining-class "uni-combining.el") |
| 188 | (let ((char 0) ccc decomposition) | 188 | (let (ccc decomposition) |
| 189 | (mapc | 189 | (mapc |
| 190 | (lambda (start-end) | 190 | (lambda (start-end) |
| 191 | (cl-do ((char (car start-end) (+ char 1))) ((> char (cdr start-end))) | 191 | (cl-do ((char (car start-end) (+ char 1))) ((> char (cdr start-end))) |
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el index 3c7d2a057d5..11d93a6df9a 100644 --- a/lisp/jka-cmpr-hook.el +++ b/lisp/jka-cmpr-hook.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; jka-cmpr-hook.el --- preloaded code to enable jka-compr.el | 1 | ;;; jka-cmpr-hook.el --- preloaded code to enable jka-compr.el -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1995, 1997, 1999-2000, 2002-2021 Free Software | 3 | ;; Copyright (C) 1993-1995, 1997, 1999-2000, 2002-2021 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
| @@ -93,6 +93,7 @@ Otherwise, it is nil.") | |||
| 93 | "\\)" file-name-version-regexp "?\\'")))) | 93 | "\\)" file-name-version-regexp "?\\'")))) |
| 94 | 94 | ||
| 95 | ;; Functions for accessing the return value of jka-compr-get-compression-info | 95 | ;; Functions for accessing the return value of jka-compr-get-compression-info |
| 96 | ;; FIXME: Use cl-defstruct! | ||
| 96 | (defun jka-compr-info-regexp (info) (aref info 0)) | 97 | (defun jka-compr-info-regexp (info) (aref info 0)) |
| 97 | (defun jka-compr-info-compress-message (info) (aref info 1)) | 98 | (defun jka-compr-info-compress-message (info) (aref info 1)) |
| 98 | (defun jka-compr-info-compress-program (info) (aref info 2)) | 99 | (defun jka-compr-info-compress-program (info) (aref info 2)) |
diff --git a/lisp/language/chinese.el b/lisp/language/chinese.el index 6b434feb137..5cb8344c094 100644 --- a/lisp/language/chinese.el +++ b/lisp/language/chinese.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; chinese.el --- support for Chinese -*- coding: utf-8; -*- | 1 | ;;; chinese.el --- support for Chinese -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el index c491644d57c..c12096f95eb 100644 --- a/lisp/language/cyrillic.el +++ b/lisp/language/cyrillic.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; cyrillic.el --- support for Cyrillic -*- coding: utf-8; -*- | 1 | ;;; cyrillic.el --- support for Cyrillic -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-1998, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-1998, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/english.el b/lisp/language/english.el index dfbec85792f..41d56be7d46 100644 --- a/lisp/language/english.el +++ b/lisp/language/english.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; english.el --- support for English | 1 | ;;; english.el --- support for English -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
diff --git a/lisp/language/ethiopic.el b/lisp/language/ethiopic.el index 1e409e3dcf8..8573f6177df 100644 --- a/lisp/language/ethiopic.el +++ b/lisp/language/ethiopic.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; ethiopic.el --- support for Ethiopic -*- coding: utf-8-emacs; -*- | 1 | ;;; ethiopic.el --- support for Ethiopic -*- coding: utf-8-emacs; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/european.el b/lisp/language/european.el index 1f27ff0c73b..bcd62a14c4c 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; european.el --- support for European languages -*- coding: utf-8; -*- | 1 | ;;; european.el --- support for European languages -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-1998, 2000-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-1998, 2000-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index 9f9a14a0dc0..389565669a9 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; hebrew.el --- support for Hebrew -*- coding: utf-8 -*- | 1 | ;;; hebrew.el --- support for Hebrew -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/indian.el b/lisp/language/indian.el index b92fda53648..5ff57966c12 100644 --- a/lisp/language/indian.el +++ b/lisp/language/indian.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; indian.el --- Indian languages support -*- coding: utf-8; -*- | 1 | ;;; indian.el --- Indian languages support -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1999, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1999, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index 8c724ee9667..bd8ef6ec857 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; japanese.el --- support for Japanese | 1 | ;;; japanese.el --- support for Japanese -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/korean.el b/lisp/language/korean.el index 997b8ae1319..22b33a440ef 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; korean.el --- support for Korean -*- coding: utf-8 -*- | 1 | ;;; korean.el --- support for Korean -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/lao.el b/lisp/language/lao.el index 44fe8d230db..5252f1e60ea 100644 --- a/lisp/language/lao.el +++ b/lisp/language/lao.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; lao.el --- support for Lao -*- coding: utf-8 -*- | 1 | ;;; lao.el --- support for Lao -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el index 089b79c5208..0a274f144c2 100644 --- a/lisp/language/misc-lang.el +++ b/lisp/language/misc-lang.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; misc-lang.el --- support for miscellaneous languages (characters) | 1 | ;;; misc-lang.el --- support for miscellaneous languages (characters) -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
diff --git a/lisp/language/thai.el b/lisp/language/thai.el index 44a9a319330..be15db49db9 100644 --- a/lisp/language/thai.el +++ b/lisp/language/thai.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; thai.el --- support for Thai -*- coding: utf-8 -*- | 1 | ;;; thai.el --- support for Thai -*- coding: utf-8; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-1998, 2000-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-1998, 2000-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
diff --git a/lisp/language/tibetan.el b/lisp/language/tibetan.el index 5b8e29c2c7a..edd9d765b1e 100644 --- a/lisp/language/tibetan.el +++ b/lisp/language/tibetan.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; tibetan.el --- support for Tibetan language -*- coding: utf-8-emacs; -*- | 1 | ;;; tibetan.el --- support for Tibetan language -*- coding: utf-8-emacs; lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 4 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index c4eae686bd7..526491f0272 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; menu-bar.el --- define a default menu bar | 1 | ;;; menu-bar.el --- define a default menu bar -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1995, 2000-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1995, 2000-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -229,7 +229,8 @@ | |||
| 229 | (filename (car (find-file-read-args "Find file: " mustmatch)))) | 229 | (filename (car (find-file-read-args "Find file: " mustmatch)))) |
| 230 | (if mustmatch | 230 | (if mustmatch |
| 231 | (find-file-existing filename) | 231 | (find-file-existing filename) |
| 232 | (find-file filename)))) | 232 | (with-suppressed-warnings ((interactive-only find-file)) |
| 233 | (find-file filename))))) | ||
| 233 | 234 | ||
| 234 | ;; The "Edit->Search" submenu | 235 | ;; The "Edit->Search" submenu |
| 235 | (defvar menu-bar-last-search-type nil | 236 | (defvar menu-bar-last-search-type nil |
diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el index f9842b52b13..378358feac2 100644 --- a/lisp/rfn-eshadow.el +++ b/lisp/rfn-eshadow.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; rfn-eshadow.el --- Highlight `shadowed' part of read-file-name input text | 1 | ;;; rfn-eshadow.el --- Highlight `shadowed' part of read-file-name input text -*- lexical-binding: t; -*- |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 2000-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el index 802cb3072fa..eecdb60f3a4 100644 --- a/lisp/scroll-bar.el +++ b/lisp/scroll-bar.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; scroll-bar.el --- window system-independent scroll bar support | 1 | ;;; scroll-bar.el --- window system-independent scroll bar support -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1995, 1999-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1995, 1999-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/term/common-win.el b/lisp/term/common-win.el index 8d5cb191dd8..8ae58718e3f 100644 --- a/lisp/term/common-win.el +++ b/lisp/term/common-win.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; common-win.el --- common part of handling window systems | 1 | ;;; common-win.el --- common part of handling window systems -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1994, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1994, 2001-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el index 1aeaffbbc01..740d0654a17 100644 --- a/lisp/term/tty-colors.el +++ b/lisp/term/tty-colors.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; tty-colors.el --- color support for character terminals | 1 | ;;; tty-colors.el --- color support for character terminals -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index e9bef6ec801..3346c551d93 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; fill.el --- fill commands for Emacs | 1 | ;;; fill.el --- fill commands for Emacs -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1992, 1994-1997, 1999, 2001-2021 Free | 3 | ;; Copyright (C) 1985-1986, 1992, 1994-1997, 1999, 2001-2021 Free |
| 4 | ;; Software Foundation, Inc. | 4 | ;; Software Foundation, Inc. |
| @@ -40,13 +40,11 @@ Non-nil means changing indent doesn't end a paragraph. | |||
| 40 | That mode can handle paragraphs with extra indentation on the first line, | 40 | That mode can handle paragraphs with extra indentation on the first line, |
| 41 | but it requires separator lines between paragraphs. | 41 | but it requires separator lines between paragraphs. |
| 42 | A value of nil means that any change in indentation starts a new paragraph." | 42 | A value of nil means that any change in indentation starts a new paragraph." |
| 43 | :type 'boolean | 43 | :type 'boolean) |
| 44 | :group 'fill) | ||
| 45 | 44 | ||
| 46 | (defcustom colon-double-space nil | 45 | (defcustom colon-double-space nil |
| 47 | "Non-nil means put two spaces after a colon when filling." | 46 | "Non-nil means put two spaces after a colon when filling." |
| 48 | :type 'boolean | 47 | :type 'boolean) |
| 49 | :group 'fill) | ||
| 50 | (put 'colon-double-space 'safe-local-variable 'booleanp) | 48 | (put 'colon-double-space 'safe-local-variable 'booleanp) |
| 51 | 49 | ||
| 52 | (defcustom fill-separate-heterogeneous-words-with-space nil | 50 | (defcustom fill-separate-heterogeneous-words-with-space nil |
| @@ -56,7 +54,6 @@ the beginning of the next line when concatenating them for | |||
| 56 | filling those lines. Whether to use a space depends on how the | 54 | filling those lines. Whether to use a space depends on how the |
| 57 | words are categorized." | 55 | words are categorized." |
| 58 | :type 'boolean | 56 | :type 'boolean |
| 59 | :group 'fill | ||
| 60 | :version "26.1") | 57 | :version "26.1") |
| 61 | 58 | ||
| 62 | (defvar fill-paragraph-function nil | 59 | (defvar fill-paragraph-function nil |
| @@ -75,8 +72,7 @@ such as `fill-forward-paragraph-function'.") | |||
| 75 | Kinsoku processing is designed to prevent certain characters from being | 72 | Kinsoku processing is designed to prevent certain characters from being |
| 76 | placed at the beginning or end of a line by filling. | 73 | placed at the beginning or end of a line by filling. |
| 77 | See the documentation of `kinsoku' for more information." | 74 | See the documentation of `kinsoku' for more information." |
| 78 | :type 'boolean | 75 | :type 'boolean) |
| 79 | :group 'fill) | ||
| 80 | 76 | ||
| 81 | (defun set-fill-prefix () | 77 | (defun set-fill-prefix () |
| 82 | "Set the fill prefix to the current line up to point. | 78 | "Set the fill prefix to the current line up to point. |
| @@ -96,8 +92,7 @@ reinserts the fill prefix in each resulting line." | |||
| 96 | 92 | ||
| 97 | (defcustom adaptive-fill-mode t | 93 | (defcustom adaptive-fill-mode t |
| 98 | "Non-nil means determine a paragraph's fill prefix from its text." | 94 | "Non-nil means determine a paragraph's fill prefix from its text." |
| 99 | :type 'boolean | 95 | :type 'boolean) |
| 100 | :group 'fill) | ||
| 101 | 96 | ||
| 102 | (defcustom adaptive-fill-regexp | 97 | (defcustom adaptive-fill-regexp |
| 103 | ;; Added `!' for doxygen comments starting with `//!' or `/*!'. | 98 | ;; Added `!' for doxygen comments starting with `//!' or `/*!'. |
| @@ -113,8 +108,7 @@ standard indentation for the whole paragraph. | |||
| 113 | If the paragraph has just one line, the indentation is taken from that | 108 | If the paragraph has just one line, the indentation is taken from that |
| 114 | line, but in that case `adaptive-fill-first-line-regexp' also plays | 109 | line, but in that case `adaptive-fill-first-line-regexp' also plays |
| 115 | a role." | 110 | a role." |
| 116 | :type 'regexp | 111 | :type 'regexp) |
| 117 | :group 'fill) | ||
| 118 | 112 | ||
| 119 | (defcustom adaptive-fill-first-line-regexp (purecopy "\\`[ \t]*\\'") | 113 | (defcustom adaptive-fill-first-line-regexp (purecopy "\\`[ \t]*\\'") |
| 120 | "Regexp specifying whether to set fill prefix from a one-line paragraph. | 114 | "Regexp specifying whether to set fill prefix from a one-line paragraph. |
| @@ -126,15 +120,13 @@ By default, this regexp matches sequences of just spaces and tabs. | |||
| 126 | 120 | ||
| 127 | However, we never use a prefix from a one-line paragraph | 121 | However, we never use a prefix from a one-line paragraph |
| 128 | if it would act as a paragraph-starter on the second line." | 122 | if it would act as a paragraph-starter on the second line." |
| 129 | :type 'regexp | 123 | :type 'regexp) |
| 130 | :group 'fill) | ||
| 131 | 124 | ||
| 132 | (defcustom adaptive-fill-function #'ignore | 125 | (defcustom adaptive-fill-function #'ignore |
| 133 | "Function to call to choose a fill prefix for a paragraph. | 126 | "Function to call to choose a fill prefix for a paragraph. |
| 134 | A nil return value means the function has not determined the fill prefix." | 127 | A nil return value means the function has not determined the fill prefix." |
| 135 | :version "27.1" | 128 | :version "27.1" |
| 136 | :type 'function | 129 | :type 'function) |
| 137 | :group 'fill) | ||
| 138 | 130 | ||
| 139 | (defvar fill-indent-according-to-mode nil ;Screws up CC-mode's filling tricks. | 131 | (defvar fill-indent-according-to-mode nil ;Screws up CC-mode's filling tricks. |
| 140 | "Whether or not filling should try to use the major mode's indentation.") | 132 | "Whether or not filling should try to use the major mode's indentation.") |
| @@ -367,15 +359,13 @@ which is an error according to some typographical conventions." | |||
| 367 | The predicates are called with no arguments, with point at the place to | 359 | The predicates are called with no arguments, with point at the place to |
| 368 | be tested. If it returns a non-nil value, fill commands do not break | 360 | be tested. If it returns a non-nil value, fill commands do not break |
| 369 | the line there." | 361 | the line there." |
| 370 | :group 'fill | ||
| 371 | :type 'hook | 362 | :type 'hook |
| 372 | :options '(fill-french-nobreak-p fill-single-word-nobreak-p | 363 | :options '(fill-french-nobreak-p fill-single-word-nobreak-p |
| 373 | fill-single-char-nobreak-p)) | 364 | fill-single-char-nobreak-p)) |
| 374 | 365 | ||
| 375 | (defcustom fill-nobreak-invisible nil | 366 | (defcustom fill-nobreak-invisible nil |
| 376 | "Non-nil means that fill commands do not break lines in invisible text." | 367 | "Non-nil means that fill commands do not break lines in invisible text." |
| 377 | :type 'boolean | 368 | :type 'boolean) |
| 378 | :group 'fill) | ||
| 379 | 369 | ||
| 380 | (defun fill-nobreak-p () | 370 | (defun fill-nobreak-p () |
| 381 | "Return nil if breaking the line at point is allowed. | 371 | "Return nil if breaking the line at point is allowed. |
| @@ -1110,8 +1100,7 @@ The `justification' text-property can locally override this variable." | |||
| 1110 | (const full) | 1100 | (const full) |
| 1111 | (const center) | 1101 | (const center) |
| 1112 | (const none)) | 1102 | (const none)) |
| 1113 | :safe 'symbolp | 1103 | :safe 'symbolp) |
| 1114 | :group 'fill) | ||
| 1115 | (make-variable-buffer-local 'default-justification) | 1104 | (make-variable-buffer-local 'default-justification) |
| 1116 | 1105 | ||
| 1117 | (defun current-justification () | 1106 | (defun current-justification () |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 3da24c85c85..9ef2da737a4 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; w32-fns.el --- Lisp routines for 32-bit Windows | 1 | ;;; w32-fns.el --- Lisp routines for 32-bit Windows -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 2001-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -383,10 +383,10 @@ for any permissions. | |||
| 383 | 383 | ||
| 384 | This is required because the Windows build environment is not required | 384 | This is required because the Windows build environment is not required |
| 385 | to include Sed, which is used by leim/Makefile.in to do the job." | 385 | to include Sed, which is used by leim/Makefile.in to do the job." |
| 386 | (find-file orig) | 386 | (with-current-buffer (find-file-noselect orig) |
| 387 | (goto-char (point-max)) | 387 | (goto-char (point-max)) |
| 388 | (insert-file-contents extra) | 388 | (insert-file-contents extra) |
| 389 | (delete-matching-lines "^$\\|^;") | 389 | (delete-matching-lines "^$\\|^;") |
| 390 | (save-buffers-kill-emacs t)) | 390 | (save-buffers-kill-emacs t))) |
| 391 | 391 | ||
| 392 | ;;; w32-fns.el ends here | 392 | ;;; w32-fns.el ends here |
diff --git a/lisp/widget.el b/lisp/widget.el index de690ad225d..401b4cf298f 100644 --- a/lisp/widget.el +++ b/lisp/widget.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; widget.el --- a library of user interface components | 1 | ;;; widget.el --- a library of user interface components -*- lexical-binding: t; -*- |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1996-1997, 2001-2021 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996-1997, 2001-2021 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |