aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2020-05-09 10:03:21 -0700
committerGlenn Morris2020-05-09 10:03:21 -0700
commit5c890bfc191d0cf18dccbbf50ebdcde946a0d7fb (patch)
tree8e14f3cedc3fba87248f49c2e960f6bf3cfe2da7 /lisp
parent196bc13b7bc5a29fa4d27e83d7cf0db4d99aa8b7 (diff)
parentbe0d1cac83d14596406571f9cb668031ec5675ac (diff)
downloademacs-5c890bfc191d0cf18dccbbf50ebdcde946a0d7fb.tar.gz
emacs-5c890bfc191d0cf18dccbbf50ebdcde946a0d7fb.zip
Merge from origin/emacs-27
be0d1cac83 (origin/emacs-27) Small fix for type of 'display-fill-colu... c5e5839776 Fix customization of 'display-fill-column-indicator-charac... d5c184aa3e Refer to fill column indicator Info node in some places. e13300ae50 Merge branch 'emacs-27' of git.sv.gnu.org:/srv/git/emacs i... 0bae57033f Fix GTK's Tool Bar menu radio buttons 4c98aa7ea5 Minor clarifications in NEWS a1cbd05f38 Improve documentation of 'with-suppressed-warnings'. 4a895c1b26 Fix a typo in a comment 2caf3e997e Improve documentation of Hi Lock mode 7081c1d66f Fix typos in the Emacs user manual 0385771e2f Fix references to Speedbar in VHDL mode a76cafea0d Fix handling of FROM = t and TO = t by 'window-text-pixel-... # Conflicts: # etc/NEWS # src/xdisp.c
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cus-start.el11
-rw-r--r--lisp/display-fill-column-indicator.el8
-rw-r--r--lisp/emacs-lisp/byte-run.el11
-rw-r--r--lisp/hi-lock.el20
-rw-r--r--lisp/menu-bar.el4
-rw-r--r--lisp/progmodes/vhdl-mode.el2
6 files changed, 39 insertions, 17 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index dff4d9a6060..6632687da47 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -771,9 +771,16 @@ since it could result in memory overflow and make Emacs crash."
771 :safe (lambda (value) (or (booleanp value) (integerp value)))) 771 :safe (lambda (value) (or (booleanp value) (integerp value))))
772 (display-fill-column-indicator-character 772 (display-fill-column-indicator-character
773 display-fill-column-indicator 773 display-fill-column-indicator
774 character 774 (choice
775 (character :tag "Use U+2502 to indicate fill column"
776 :value ?│)
777 (character :tag "Use | to indicate fill column"
778 :value ?|)
779 (const :tag "If possible, use U+2502 to indicate fill column, otherwise use |"
780 :value nil)
781 character)
775 "27.1" 782 "27.1"
776 :safe characterp) 783 :safe (lambda (value) (or (characterp value) (null value))))
777 ;; xfaces.c 784 ;; xfaces.c
778 (scalable-fonts-allowed display boolean "22.1") 785 (scalable-fonts-allowed display boolean "22.1")
779 ;; xfns.c 786 ;; xfns.c
diff --git a/lisp/display-fill-column-indicator.el b/lisp/display-fill-column-indicator.el
index 25259aadf6b..3f947bdc1c9 100644
--- a/lisp/display-fill-column-indicator.el
+++ b/lisp/display-fill-column-indicator.el
@@ -31,7 +31,7 @@
31 31
32;; NOTE: Customization variables for 32;; NOTE: Customization variables for
33;; `display-fill-column-indicator-column' and 33;; `display-fill-column-indicator-column' and
34;; `display-fill-column-indicator-char' itself are defined in 34;; `display-fill-column-indicator-character' itself are defined in
35;; cus-start.el. 35;; cus-start.el.
36 36
37;;; Code: 37;;; Code:
@@ -39,7 +39,8 @@
39(defgroup display-fill-column-indicator nil 39(defgroup display-fill-column-indicator nil
40 "Display a fill column indicator in the buffer." 40 "Display a fill column indicator in the buffer."
41 :group 'convenience 41 :group 'convenience
42 :group 'display) 42 :group 'display
43 :link '(info-link "(emacs)Displaying Boundaries"))
43 44
44 45
45;;;###autoload 46;;;###autoload
@@ -49,7 +50,8 @@ This uses `display-fill-column-indicator' internally.
49 50
50To change the position of the column displayed by default 51To change the position of the column displayed by default
51customize `display-fill-column-indicator-column'. You can change the 52customize `display-fill-column-indicator-column'. You can change the
52character for the indicator setting `display-fill-column-indicator-character'." 53character for the indicator setting `display-fill-column-indicator-character'.
54See Info node `Displaying Boundaries' for details."
53 :lighter nil 55 :lighter nil
54 (if display-fill-column-indicator-mode 56 (if display-fill-column-indicator-mode
55 (progn 57 (progn
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index fa769adb061..88e21b73fed 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -536,11 +536,12 @@ wrong number of parameters, say
536 (zot 1 2)) 536 (zot 1 2))
537 537
538The warnings that can be suppressed are a subset of the warnings 538The warnings that can be suppressed are a subset of the warnings
539in `byte-compile-warning-types'; see this variable for a fuller 539in `byte-compile-warning-types'; see the variable
540explanation of the warning types. The types that can be 540`byte-compile-warnings' for a fuller explanation of the warning
541suppressed with this macro are `free-vars', `callargs', 541types. The types that can be suppressed with this macro are
542`redefine', `obsolete', `interactive-only', `lexical', `mapcar', 542`free-vars', `callargs', `redefine', `obsolete',
543`constants' and `suspicious'. 543`interactive-only', `lexical', `mapcar', `constants' and
544`suspicious'.
544 545
545For the `mapcar' case, only the `mapcar' function can be used in 546For the `mapcar' case, only the `mapcar' function can be used in
546the symbol list. For `suspicious', only `set-buffer' can be used." 547the symbol list. For `suspicious', only `set-buffer' can be used."
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 08d82173e41..a18310322ad 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -322,7 +322,10 @@ or add (global-hi-lock-mode 1) to your init file.
322In buffers where Font Lock mode is enabled, patterns are 322In buffers where Font Lock mode is enabled, patterns are
323highlighted using font lock. In buffers where Font Lock mode is 323highlighted using font lock. In buffers where Font Lock mode is
324disabled, patterns are applied using overlays; in this case, the 324disabled, patterns are applied using overlays; in this case, the
325highlighting will not be updated as you type. 325highlighting will not be updated as you type. The Font Lock mode
326is considered \"enabled\" in a buffer if its `major-mode'
327causes `font-lock-specified-p' to return non-nil, which means
328the major mode specifies support for Font Lock.
326 329
327When Hi Lock mode is enabled, a \"Regexp Highlighting\" submenu 330When Hi Lock mode is enabled, a \"Regexp Highlighting\" submenu
328is added to the \"Edit\" menu. The commands in the submenu, 331is added to the \"Edit\" menu. The commands in the submenu,
@@ -480,7 +483,10 @@ and `search-upper-case' is non-nil, the matching is case-sensitive.
480 483
481Use Font lock mode, if enabled, to highlight REGEXP. Otherwise, 484Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
482use overlays for highlighting. If overlays are used, the 485use overlays for highlighting. If overlays are used, the
483highlighting will not update as you type." 486highlighting will not update as you type. The Font Lock mode
487is considered \"enabled\" in a buffer if its `major-mode'
488causes `font-lock-specified-p' to return non-nil, which means
489the major mode specifies support for Font Lock."
484 (interactive 490 (interactive
485 (list 491 (list
486 (hi-lock-regexp-okay 492 (hi-lock-regexp-okay
@@ -510,7 +516,10 @@ Also set `search-spaces-regexp' to the value of `search-whitespace-regexp'.
510 516
511Use Font lock mode, if enabled, to highlight REGEXP. Otherwise, 517Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
512use overlays for highlighting. If overlays are used, the 518use overlays for highlighting. If overlays are used, the
513highlighting will not update as you type." 519highlighting will not update as you type. The Font Lock mode
520is considered \"enabled\" in a buffer if its `major-mode'
521causes `font-lock-specified-p' to return non-nil, which means
522the major mode specifies support for Font Lock."
514 (interactive 523 (interactive
515 (list 524 (list
516 (hi-lock-regexp-okay 525 (hi-lock-regexp-okay
@@ -538,7 +547,10 @@ If REGEXP contains upper case characters (excluding those preceded by `\\')
538and `search-upper-case' is non-nil, the matching is case-sensitive. 547and `search-upper-case' is non-nil, the matching is case-sensitive.
539 548
540This uses Font lock mode if it is enabled; otherwise it uses overlays, 549This uses Font lock mode if it is enabled; otherwise it uses overlays,
541in which case the highlighting will not update as you type." 550in which case the highlighting will not update as you type. The Font
551Lock mode is considered \"enabled\" in a buffer if its `major-mode'
552causes `font-lock-specified-p' to return non-nil, which means
553the major mode specifies support for Font Lock."
542 (interactive) 554 (interactive)
543 (let* ((regexp (hi-lock-regexp-okay 555 (let* ((regexp (hi-lock-regexp-okay
544 (find-tag-default-as-symbol-regexp))) 556 (find-tag-default-as-symbol-regexp)))
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 731da193ef1..9bc667acd61 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1085,10 +1085,10 @@ The selected font will be the default on both the existing and future frames."
1085 :visible (display-graphic-p) 1085 :visible (display-graphic-p)
1086 :button 1086 :button
1087 (:radio . (and tool-bar-mode 1087 (:radio . (and tool-bar-mode
1088 (frame-parameter 1088 (eq (frame-parameter
1089 (menu-bar-frame-for-menubar) 1089 (menu-bar-frame-for-menubar)
1090 'tool-bar-position) 1090 'tool-bar-position)
1091 'left)))) 1091 'left)))))
1092 1092
1093 (bindings--define-key menu [showhide-tool-bar-right] 1093 (bindings--define-key menu [showhide-tool-bar-right]
1094 '(menu-item "On the Right" 1094 '(menu-item "On the Right"
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 22c61586266..9cd84cf713b 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -14730,7 +14730,7 @@ if required."
14730 (speedbar-add-mode-functions-list 14730 (speedbar-add-mode-functions-list
14731 '("vhdl directory" 14731 '("vhdl directory"
14732 (speedbar-item-info . vhdl-speedbar-item-info) 14732 (speedbar-item-info . vhdl-speedbar-item-info)
14733 (speedbar-line-directory . speedbar-files-line-path))) 14733 (speedbar-line-directory . speedbar-files-line-directory)))
14734 (speedbar-add-mode-functions-list 14734 (speedbar-add-mode-functions-list
14735 '("vhdl project" 14735 '("vhdl project"
14736 (speedbar-item-info . vhdl-speedbar-item-info) 14736 (speedbar-item-info . vhdl-speedbar-item-info)