diff options
| author | Glenn Morris | 2020-01-15 07:50:22 -0800 |
|---|---|---|
| committer | Glenn Morris | 2020-01-15 07:50:22 -0800 |
| commit | d672ad60e34b4e1dcb28f91d15f1e286acf2f94f (patch) | |
| tree | 5d17911717db0469bed838cbda7c0adf9638e31b /lisp | |
| parent | e31287e704a539ebef777d92e4d06d4b1d912b2a (diff) | |
| parent | 0e936f18f8738fbe3809784f5ec6feb27c6bb24e (diff) | |
| download | emacs-d672ad60e34b4e1dcb28f91d15f1e286acf2f94f.tar.gz emacs-d672ad60e34b4e1dcb28f91d15f1e286acf2f94f.zip | |
Merge from origin/emacs-27
0e936f18f8 (origin/emacs-27) Fix build failure with --with-cairo --wi...
c34f7e884b Add new node "Package Statuses" to manual
fdee034ac8 * lisp/isearch.el: Fix corner cases of isearch-lazy-count.
7b14329d86 ; * lisp/simple.el (messages-buffer): Doc fix. (Bug#39124)
7ec66a59e3 Document spacing issues with Xft for some fonts
08cd247fbd ; * etc/NEWS: Fix typo.
d645628e3c Always use lexical-binding in lisp-interaction-mode (bug#3...
c42198f78c ; *etc/NEWS: Fix typo.
0ed9cfa7dc vc-dir: ensure we don't use a pager with git
37e0d00c14 Improve ERC's matching of nicks and URLs (bug#38257)
d47b157969 Handle tab-bar clicks on a GPM-capable console.
e4791f3f8e ;* etc/TODO: Update.
# Conflicts:
# etc/NEWS
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/erc/erc-button.el | 11 | ||||
| -rw-r--r-- | lisp/erc/erc-match.el | 3 | ||||
| -rw-r--r-- | lisp/isearch.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 3 | ||||
| -rw-r--r-- | lisp/simple.el | 2 | ||||
| -rw-r--r-- | lisp/startup.el | 4 | ||||
| -rw-r--r-- | lisp/tab-line.el | 4 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 3 |
8 files changed, 14 insertions, 23 deletions
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 6e30b3a7935..e4f5a190913 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -41,6 +41,7 @@ | |||
| 41 | (require 'erc) | 41 | (require 'erc) |
| 42 | (require 'wid-edit) | 42 | (require 'wid-edit) |
| 43 | (require 'erc-fill) | 43 | (require 'erc-fill) |
| 44 | (require 'browse-url) | ||
| 44 | 45 | ||
| 45 | ;;; Minor Mode | 46 | ;;; Minor Mode |
| 46 | 47 | ||
| @@ -87,12 +88,9 @@ above them." | |||
| 87 | :type 'face | 88 | :type 'face |
| 88 | :group 'erc-faces) | 89 | :group 'erc-faces) |
| 89 | 90 | ||
| 90 | (defcustom erc-button-url-regexp | 91 | (defcustom erc-button-url-regexp browse-url-button-regexp |
| 91 | (concat "\\(www\\.\\|\\(s?https?\\|" | ||
| 92 | "ftp\\|file\\|gopher\\|news\\|telnet\\|wais\\|mailto\\):\\)" | ||
| 93 | "\\(//[-a-zA-Z0-9_.]+:[0-9]*\\)?" | ||
| 94 | "[-a-zA-Z0-9_=!?#$@~`%&*+\\/:;.,()]+[-a-zA-Z0-9_=#$@~`%&*+\\/()]") | ||
| 95 | "Regular expression that matches URLs." | 92 | "Regular expression that matches URLs." |
| 93 | :version "27.1" | ||
| 96 | :group 'erc-button | 94 | :group 'erc-button |
| 97 | :type 'regexp) | 95 | :type 'regexp) |
| 98 | 96 | ||
| @@ -223,14 +221,11 @@ PAR is a number of a regexp grouping whose text will be passed to | |||
| 223 | 221 | ||
| 224 | (defvar erc-button-syntax-table | 222 | (defvar erc-button-syntax-table |
| 225 | (let ((table (make-syntax-table))) | 223 | (let ((table (make-syntax-table))) |
| 226 | (modify-syntax-entry ?\( "w" table) | ||
| 227 | (modify-syntax-entry ?\) "w" table) | ||
| 228 | (modify-syntax-entry ?\[ "w" table) | 224 | (modify-syntax-entry ?\[ "w" table) |
| 229 | (modify-syntax-entry ?\] "w" table) | 225 | (modify-syntax-entry ?\] "w" table) |
| 230 | (modify-syntax-entry ?\{ "w" table) | 226 | (modify-syntax-entry ?\{ "w" table) |
| 231 | (modify-syntax-entry ?\} "w" table) | 227 | (modify-syntax-entry ?\} "w" table) |
| 232 | (modify-syntax-entry ?` "w" table) | 228 | (modify-syntax-entry ?` "w" table) |
| 233 | (modify-syntax-entry ?' "w" table) | ||
| 234 | (modify-syntax-entry ?^ "w" table) | 229 | (modify-syntax-entry ?^ "w" table) |
| 235 | (modify-syntax-entry ?- "w" table) | 230 | (modify-syntax-entry ?- "w" table) |
| 236 | (modify-syntax-entry ?_ "w" table) | 231 | (modify-syntax-entry ?_ "w" table) |
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el index 7a824cce9f8..8b9ab331288 100644 --- a/lisp/erc/erc-match.el +++ b/lisp/erc/erc-match.el | |||
| @@ -246,14 +246,11 @@ and other miscellaneous functions." | |||
| 246 | ;; just put it in erc.el | 246 | ;; just put it in erc.el |
| 247 | (defvar erc-match-syntax-table | 247 | (defvar erc-match-syntax-table |
| 248 | (let ((table (make-syntax-table))) | 248 | (let ((table (make-syntax-table))) |
| 249 | (modify-syntax-entry ?\( "w" table) | ||
| 250 | (modify-syntax-entry ?\) "w" table) | ||
| 251 | (modify-syntax-entry ?\[ "w" table) | 249 | (modify-syntax-entry ?\[ "w" table) |
| 252 | (modify-syntax-entry ?\] "w" table) | 250 | (modify-syntax-entry ?\] "w" table) |
| 253 | (modify-syntax-entry ?\{ "w" table) | 251 | (modify-syntax-entry ?\{ "w" table) |
| 254 | (modify-syntax-entry ?\} "w" table) | 252 | (modify-syntax-entry ?\} "w" table) |
| 255 | (modify-syntax-entry ?` "w" table) | 253 | (modify-syntax-entry ?` "w" table) |
| 256 | (modify-syntax-entry ?' "w" table) | ||
| 257 | (modify-syntax-entry ?^ "w" table) | 254 | (modify-syntax-entry ?^ "w" table) |
| 258 | (modify-syntax-entry ?- "w" table) | 255 | (modify-syntax-entry ?- "w" table) |
| 259 | (modify-syntax-entry ?_ "w" table) | 256 | (modify-syntax-entry ?_ "w" table) |
diff --git a/lisp/isearch.el b/lisp/isearch.el index c9873937252..ddf9190dc6d 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1225,6 +1225,9 @@ used to set the value of `isearch-regexp-function'." | |||
| 1225 | isearch-pre-scroll-point nil | 1225 | isearch-pre-scroll-point nil |
| 1226 | isearch-pre-move-point nil | 1226 | isearch-pre-move-point nil |
| 1227 | 1227 | ||
| 1228 | isearch-lazy-count-current nil | ||
| 1229 | isearch-lazy-count-total nil | ||
| 1230 | |||
| 1228 | ;; Save the original value of `minibuffer-message-timeout', and | 1231 | ;; Save the original value of `minibuffer-message-timeout', and |
| 1229 | ;; set it to nil so that isearch's messages don't get timed out. | 1232 | ;; set it to nil so that isearch's messages don't get timed out. |
| 1230 | isearch-original-minibuffer-message-timeout minibuffer-message-timeout | 1233 | isearch-original-minibuffer-message-timeout minibuffer-message-timeout |
| @@ -3776,7 +3779,7 @@ by other Emacs features." | |||
| 3776 | isearch-lazy-highlight-window-end)))))) | 3779 | isearch-lazy-highlight-window-end)))))) |
| 3777 | ;; something important did indeed change | 3780 | ;; something important did indeed change |
| 3778 | (lazy-highlight-cleanup t (not (equal isearch-string ""))) ;stop old timer | 3781 | (lazy-highlight-cleanup t (not (equal isearch-string ""))) ;stop old timer |
| 3779 | (when isearch-lazy-count | 3782 | (when (and isearch-lazy-count isearch-mode (null isearch-message-function)) |
| 3780 | (when (or (equal isearch-string "") | 3783 | (when (or (equal isearch-string "") |
| 3781 | ;; Check if this place was reached by a condition above | 3784 | ;; Check if this place was reached by a condition above |
| 3782 | ;; other than changed window boundaries (that shouldn't | 3785 | ;; other than changed window boundaries (that shouldn't |
| @@ -3794,7 +3797,7 @@ by other Emacs features." | |||
| 3794 | (clrhash isearch-lazy-count-hash) | 3797 | (clrhash isearch-lazy-count-hash) |
| 3795 | (setq isearch-lazy-count-current nil | 3798 | (setq isearch-lazy-count-current nil |
| 3796 | isearch-lazy-count-total nil) | 3799 | isearch-lazy-count-total nil) |
| 3797 | (funcall (or isearch-message-function #'isearch-message)))) | 3800 | (isearch-message))) |
| 3798 | (setq isearch-lazy-highlight-window-start-changed nil) | 3801 | (setq isearch-lazy-highlight-window-start-changed nil) |
| 3799 | (setq isearch-lazy-highlight-window-end-changed nil) | 3802 | (setq isearch-lazy-highlight-window-end-changed nil) |
| 3800 | (setq isearch-lazy-highlight-error isearch-error) | 3803 | (setq isearch-lazy-highlight-error isearch-error) |
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 774e3324c2e..2617a6e4cce 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -933,7 +933,8 @@ Paragraphs are separated only by blank lines. | |||
| 933 | Semicolons start comments. | 933 | Semicolons start comments. |
| 934 | 934 | ||
| 935 | \\{lisp-interaction-mode-map}" | 935 | \\{lisp-interaction-mode-map}" |
| 936 | :abbrev-table nil) | 936 | :abbrev-table nil |
| 937 | (setq-local lexical-binding t)) | ||
| 937 | 938 | ||
| 938 | ;;; Emacs Lisp Byte-Code mode | 939 | ;;; Emacs Lisp Byte-Code mode |
| 939 | 940 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index f9f1efcc98c..f28198cd81f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -8953,7 +8953,7 @@ and setting it to nil." | |||
| 8953 | 8953 | ||
| 8954 | (defun messages-buffer () | 8954 | (defun messages-buffer () |
| 8955 | "Return the \"*Messages*\" buffer. | 8955 | "Return the \"*Messages*\" buffer. |
| 8956 | If it does not exist, create and it switch it to `messages-buffer-mode'." | 8956 | If it does not exist, create it and switch it to `messages-buffer-mode'." |
| 8957 | (or (get-buffer "*Messages*") | 8957 | (or (get-buffer "*Messages*") |
| 8958 | (with-current-buffer (get-buffer-create "*Messages*") | 8958 | (with-current-buffer (get-buffer-create "*Messages*") |
| 8959 | (messages-buffer-mode) | 8959 | (messages-buffer-mode) |
diff --git a/lisp/startup.el b/lisp/startup.el index c27af726f9c..2a85c004da1 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1435,8 +1435,7 @@ please check its value") | |||
| 1435 | (if (get-buffer "*scratch*") | 1435 | (if (get-buffer "*scratch*") |
| 1436 | (with-current-buffer "*scratch*" | 1436 | (with-current-buffer "*scratch*" |
| 1437 | (if (eq major-mode 'fundamental-mode) | 1437 | (if (eq major-mode 'fundamental-mode) |
| 1438 | (funcall initial-major-mode)) | 1438 | (funcall initial-major-mode)))) |
| 1439 | (setq-local lexical-binding t))) | ||
| 1440 | 1439 | ||
| 1441 | ;; Load library for our terminal type. | 1440 | ;; Load library for our terminal type. |
| 1442 | ;; User init file can set term-file-prefix to nil to prevent this. | 1441 | ;; User init file can set term-file-prefix to nil to prevent this. |
| @@ -2317,7 +2316,6 @@ A fancy display is used on graphic displays, normal otherwise." | |||
| 2317 | (or (get-buffer "*scratch*") | 2316 | (or (get-buffer "*scratch*") |
| 2318 | (with-current-buffer (get-buffer-create "*scratch*") | 2317 | (with-current-buffer (get-buffer-create "*scratch*") |
| 2319 | (set-buffer-major-mode (current-buffer)) | 2318 | (set-buffer-major-mode (current-buffer)) |
| 2320 | (setq-local lexical-binding t) | ||
| 2321 | (current-buffer)))) | 2319 | (current-buffer)))) |
| 2322 | 2320 | ||
| 2323 | (defun command-line-1 (args-left) | 2321 | (defun command-line-1 (args-left) |
diff --git a/lisp/tab-line.el b/lisp/tab-line.el index 8e561c71f5b..ef530d43dec 100644 --- a/lisp/tab-line.el +++ b/lisp/tab-line.el | |||
| @@ -81,9 +81,7 @@ | |||
| 81 | '((default | 81 | '((default |
| 82 | :inherit tab-line-tab) | 82 | :inherit tab-line-tab) |
| 83 | (((class color) (min-colors 88)) | 83 | (((class color) (min-colors 88)) |
| 84 | :background "grey85") | 84 | :background "grey85")) |
| 85 | (t | ||
| 86 | :inverse-video t)) | ||
| 87 | "Tab line face for tab with current buffer in selected window." | 85 | "Tab line face for tab with current buffer in selected window." |
| 88 | :version "27.1" | 86 | :version "27.1" |
| 89 | :group 'tab-line-faces) | 87 | :group 'tab-line-faces) |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 37bc53b3850..2caa287bce2 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -1785,13 +1785,12 @@ The difference to vc-do-command is that this function always invokes | |||
| 1785 | (process-environment | 1785 | (process-environment |
| 1786 | (append | 1786 | (append |
| 1787 | `("GIT_DIR" | 1787 | `("GIT_DIR" |
| 1788 | "PAGER=" | ||
| 1789 | ;; Avoid repository locking during background operations | 1788 | ;; Avoid repository locking during background operations |
| 1790 | ;; (bug#21559). | 1789 | ;; (bug#21559). |
| 1791 | ,@(when revert-buffer-in-progress-p | 1790 | ,@(when revert-buffer-in-progress-p |
| 1792 | '("GIT_OPTIONAL_LOCKS=0"))) | 1791 | '("GIT_OPTIONAL_LOCKS=0"))) |
| 1793 | process-environment))) | 1792 | process-environment))) |
| 1794 | (apply 'process-file vc-git-program nil buffer nil command args))) | 1793 | (apply 'process-file vc-git-program nil buffer nil "--no-pager" command args))) |
| 1795 | 1794 | ||
| 1796 | (defun vc-git--out-ok (command &rest args) | 1795 | (defun vc-git--out-ok (command &rest args) |
| 1797 | (zerop (apply 'vc-git--call '(t nil) command args))) | 1796 | (zerop (apply 'vc-git--call '(t nil) command args))) |