aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuri Linkov2020-03-04 01:48:03 +0200
committerJuri Linkov2020-03-04 01:48:03 +0200
commit592b1cfee9f80413290dcd470effa7fa14036df3 (patch)
treee24e603c85bf02642a7a165078b31f27c4b6b7ed /lisp
parentadd0610ec9327c15ee933f571731401212328810 (diff)
downloademacs-592b1cfee9f80413290dcd470effa7fa14036df3.tar.gz
emacs-592b1cfee9f80413290dcd470effa7fa14036df3.zip
Improve documentation of next-error-highlight-no-select (bug#38778)
* doc/emacs/building.texi (Compilation Mode): Mention next-error-highlight-no-select. * lisp/simple.el (next-error-highlight): Add reference to next-error-highlight-no-select. (next-error-highlight-no-select): Add reference to next-error-highlight.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 0d8072bf5f0..cb04c982220 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -75,14 +75,16 @@ value of 1 means that nothing is amalgamated.")
75 :version "22.1") 75 :version "22.1")
76 76
77(defcustom next-error-highlight 0.5 77(defcustom next-error-highlight 0.5
78 "Highlighting of locations in selected source buffers. 78 "Highlighting of locations in the selected buffer.
79If a number, highlight the locus in `next-error' face for the given time 79If a number, highlight the locus in `next-error' face for the given time
80in seconds, or until the next command is executed. 80in seconds, or until the next command is executed.
81If t, highlight the locus until the next command is executed, or until 81If t, highlight the locus until the next command is executed, or until
82some other locus replaces it. 82some other locus replaces it.
83If nil, don't highlight the locus in the source buffer. 83If nil, don't highlight the locus in the source buffer.
84If `fringe-arrow', indicate the locus by the fringe arrow 84If `fringe-arrow', indicate the locus by the fringe arrow
85indefinitely until some other locus replaces it." 85indefinitely until some other locus replaces it.
86See `next-error-highlight-no-select' to customize highlighting
87of the locus in non-selected buffers."
86 :type '(choice (number :tag "Highlight for specified time") 88 :type '(choice (number :tag "Highlight for specified time")
87 (const :tag "Semipermanent highlighting" t) 89 (const :tag "Semipermanent highlighting" t)
88 (const :tag "No highlighting" nil) 90 (const :tag "No highlighting" nil)
@@ -91,12 +93,15 @@ indefinitely until some other locus replaces it."
91 :version "22.1") 93 :version "22.1")
92 94
93(defcustom next-error-highlight-no-select 0.5 95(defcustom next-error-highlight-no-select 0.5
94 "Highlighting of locations in `next-error-no-select'. 96 "Highlighting of locations in non-selected source buffers.
97Usually non-selected buffers are displayed by `next-error-no-select'.
95If number, highlight the locus in `next-error' face for given time in seconds. 98If number, highlight the locus in `next-error' face for given time in seconds.
96If t, highlight the locus indefinitely until some other locus replaces it. 99If t, highlight the locus indefinitely until some other locus replaces it.
97If nil, don't highlight the locus in the source buffer. 100If nil, don't highlight the locus in the source buffer.
98If `fringe-arrow', indicate the locus by the fringe arrow 101If `fringe-arrow', indicate the locus by the fringe arrow
99indefinitely until some other locus replaces it." 102indefinitely until some other locus replaces it.
103See `next-error-highlight' to customize highlighting of the locus
104in the selected buffer."
100 :type '(choice (number :tag "Highlight for specified time") 105 :type '(choice (number :tag "Highlight for specified time")
101 (const :tag "Semipermanent highlighting" t) 106 (const :tag "Semipermanent highlighting" t)
102 (const :tag "No highlighting" nil) 107 (const :tag "No highlighting" nil)