aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-10-04 01:08:03 +0200
committerStefan Kangas2021-10-04 03:26:11 +0200
commitc0793cd9dea407e244537f77361cfbe5077181db (patch)
treea381f6402de088d09b1e6a4e2f17be8a93daebc9
parent87153cc9151fe2398c243cf49eb27584c166c58a (diff)
downloademacs-c0793cd9dea407e244537f77361cfbe5077181db.tar.gz
emacs-c0793cd9dea407e244537f77361cfbe5077181db.zip
Don't use some obsolete names in documentation
* admin/notes/bugtracker: Use non-obsolete name 'mail-dont-reply-to-names'. * admin/notes/multi-tty: Mention new variable name 'x-selection-value'. * doc/lispintro/emacs-lisp-intro.texi (Point and mark) (Point and mark, Design @value{COUNT-WORDS}): Avoid using obsolete name 'count-lines-region'. * doc/lispref/hooks.texi (Standard Hooks): Remove reference to obsolete abnormal hook 'completion-annotate-function'. * doc/misc/efaq.texi (SPC no longer completes file names): Remove reference to obsolete 'minibuffer-local-filename-must-match-map'; setting it has no effect. * doc/misc/gnus.texi (NNTP): Remove reference to obsolete variable 'nntp-authinfo-file'. * doc/misc/reftex.texi (Table of Contents, Creating Citations) (Options - Table of Contents, Options - Referencing Labels) (Options - Creating Citations, Options - Index Support) (Options - Index Support, Changes): Don't use obsolete names. * doc/misc/speedbar.texi (Minor Display Modes) (Major Display Modes): Make variable name suggestions more in line with existing non-obsolete variable. * lisp/textmodes/reftex-cite.el (reftex-select-bib-mode-map): * lisp/textmodes/reftex-ref.el (reftex-offer-label-menu): Don't use obsolete variable names. * lisp/progmodes/which-func.el (which-func-mode): Doc fix.
-rw-r--r--admin/notes/bugtracker2
-rw-r--r--admin/notes/multi-tty2
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi7
-rw-r--r--doc/lispref/hooks.texi1
-rw-r--r--doc/misc/efaq.texi3
-rw-r--r--doc/misc/gnus.texi4
-rw-r--r--doc/misc/reftex.texi26
-rw-r--r--doc/misc/speedbar.texi6
-rw-r--r--lisp/progmodes/which-func.el3
-rw-r--r--lisp/textmodes/reftex-cite.el4
-rw-r--r--lisp/textmodes/reftex-ref.el4
11 files changed, 28 insertions, 34 deletions
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker
index 9eb65e1f864..deb06f552cc 100644
--- a/admin/notes/bugtracker
+++ b/admin/notes/bugtracker
@@ -84,7 +84,7 @@ generate a new report. The only time to send mail to the bug list
84address is to create a new report. 84address is to create a new report.
85 85
86Gnus users can add the following to message-dont-reply-to-names; 86Gnus users can add the following to message-dont-reply-to-names;
87similarly with Rmail and rmail-dont-reply-to-names: 87similarly with Rmail and mail-dont-reply-to-names:
88 88
89"\\(emacs-pretest-bug\\|bug-gnu-emacs\\|bug-\\(e\\|gnu\\)macs\\)@gnu\\.org\\|\ 89"\\(emacs-pretest-bug\\|bug-gnu-emacs\\|bug-\\(e\\|gnu\\)macs\\)@gnu\\.org\\|\
90\\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org" 90\\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org"
diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty
index 1a337b9d799..fa4df820ae4 100644
--- a/admin/notes/multi-tty
+++ b/admin/notes/multi-tty
@@ -474,7 +474,7 @@ THINGS TO DO
474 definition. 474 definition.
475 475
476 Exceptions found so far: x-select-text and 476 Exceptions found so far: x-select-text and
477 x-cut-buffer-or-selection-value. 477 x-selection-value (old name: x-cut-buffer-or-selection-value).
478 478
479** Have a look at fatal_error_hook. 479** Have a look at fatal_error_hook.
480 480
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 7c7005b3483..9dbf854171c 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -4201,7 +4201,7 @@ times.
4201 4201
4202The part of the buffer between point and mark is called @dfn{the 4202The part of the buffer between point and mark is called @dfn{the
4203region}. Numerous commands work on the region, including 4203region}. Numerous commands work on the region, including
4204@code{center-region}, @code{count-lines-region}, @code{kill-region}, and 4204@code{center-region}, @code{count-words-region}, @code{kill-region}, and
4205@code{print-region}. 4205@code{print-region}.
4206 4206
4207The @code{save-excursion} special form saves the location of point and 4207The @code{save-excursion} special form saves the location of point and
@@ -4214,7 +4214,7 @@ evaluated.
4214 4214
4215In Emacs, a function frequently moves point as part of its internal 4215In Emacs, a function frequently moves point as part of its internal
4216workings even though a user would not expect this. For example, 4216workings even though a user would not expect this. For example,
4217@code{count-lines-region} moves point. To prevent the user from being 4217@code{count-words-region} moves point. To prevent the user from being
4218bothered by jumps that are both unexpected and (from the user's point of 4218bothered by jumps that are both unexpected and (from the user's point of
4219view) unnecessary, @code{save-excursion} is often used to keep point in 4219view) unnecessary, @code{save-excursion} is often used to keep point in
4220the location expected by the user. The use of 4220the location expected by the user. The use of
@@ -13473,8 +13473,7 @@ The template for an interactive function definition is, as always:
13473 13473
13474What we need to do is fill in the slots. 13474What we need to do is fill in the slots.
13475 13475
13476The name of the function should be self-explanatory and similar to the 13476The name of the function should be self-explanatory and easy
13477existing @code{count-lines-region} name. This makes the name easier
13478to remember. @code{count-words-region} is the obvious choice. Since 13477to remember. @code{count-words-region} is the obvious choice. Since
13479that name is now used for the standard Emacs command to count words, we 13478that name is now used for the standard Emacs command to count words, we
13480will name our implementation @code{@value{COUNT-WORDS}}. 13479will name our implementation @code{@value{COUNT-WORDS}}.
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi
index 394928454b0..feec8b24f46 100644
--- a/doc/lispref/hooks.texi
+++ b/doc/lispref/hooks.texi
@@ -262,7 +262,6 @@ after-set-visited-file-name-hook
262auto-coding-functions 262auto-coding-functions
263choose-completion-string-functions 263choose-completion-string-functions
264completing-read-function 264completing-read-function
265completion-annotate-function
266completion-at-point-functions 265completion-at-point-functions
267completion-list-insert-choice-function 266completion-list-insert-choice-function
268deactivate-current-input-method-function 267deactivate-current-input-method-function
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index f80ccc080a0..18342e65b0a 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -4136,9 +4136,6 @@ You can get the old behavior by binding @kbd{SPC} to
4136@lisp 4136@lisp
4137(define-key minibuffer-local-filename-completion-map (kbd "SPC") 4137(define-key minibuffer-local-filename-completion-map (kbd "SPC")
4138 'minibuffer-complete-word) 4138 'minibuffer-complete-word)
4139
4140(define-key minibuffer-local-filename-must-match-map (kbd "SPC")
4141 'minibuffer-complete-word)
4142@end lisp 4139@end lisp
4143 4140
4144@c ------------------------------------------------------------ 4141@c ------------------------------------------------------------
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 9e433e11c81..0c065584c45 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -13875,11 +13875,9 @@ present in this hook.
13875@item nntp-authinfo-function 13875@item nntp-authinfo-function
13876@vindex nntp-authinfo-function 13876@vindex nntp-authinfo-function
13877@findex nntp-send-authinfo 13877@findex nntp-send-authinfo
13878@vindex nntp-authinfo-file
13879This function will be used to send @samp{AUTHINFO} to the @acronym{NNTP} 13878This function will be used to send @samp{AUTHINFO} to the @acronym{NNTP}
13880server. The default function is @code{nntp-send-authinfo}, which looks 13879server. The default function is @code{nntp-send-authinfo}, which looks
13881through your @file{~/.authinfo} (or whatever you've set the 13880through your @file{~/.authinfo} for applicable entries. If none
13882@code{nntp-authinfo-file} variable to) for applicable entries. If none
13883are found, it will prompt you for a login name and a password. The 13881are found, it will prompt you for a login name and a password. The
13884format of the @file{~/.authinfo} file is (almost) the same as the 13882format of the @file{~/.authinfo} file is (almost) the same as the
13885@code{ftp} @file{~/.netrc} file, which is defined in the @code{ftp} 13883@code{ftp} @file{~/.netrc} file, which is defined in the @code{ftp}
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 8ca5fcca5ba..8bde241e18f 100644
--- a/doc/misc/reftex.texi
+++ b/doc/misc/reftex.texi
@@ -658,9 +658,9 @@ variable @code{reftex-auto-recenter-toc}.
658 658
659@end table 659@end table
660 660
661@vindex reftex-toc-map 661@vindex reftex-toc-mode-map
662In order to define additional commands for the @file{*toc*} buffer, the 662In order to define additional commands for the @file{*toc*} buffer, the
663keymap @code{reftex-toc-map} may be used. 663keymap @code{reftex-toc-mode-map} may be used.
664 664
665@findex reftex-toc-recenter 665@findex reftex-toc-recenter
666@vindex reftex-auto-recenter-toc 666@vindex reftex-auto-recenter-toc
@@ -1021,9 +1021,9 @@ document and let you select a label from there (@pxref{LaTeX xr Package,,xr}).
1021 1021
1022@end table 1022@end table
1023 1023
1024@vindex reftex-select-label-map 1024@vindex reftex-select-label-mode-map
1025In order to define additional commands for the selection process, the 1025In order to define additional commands for the selection process, the
1026keymap @code{reftex-select-label-map} may be used. 1026keymap @code{reftex-select-label-mode-map} may be used.
1027 1027
1028@node Builtin Label Environments 1028@node Builtin Label Environments
1029@section Builtin Label Environments 1029@section Builtin Label Environments
@@ -1871,9 +1871,9 @@ entries.
1871 1871
1872@end table 1872@end table
1873 1873
1874@vindex reftex-select-bib-map 1874@vindex reftex-select-bib-mode-map
1875In order to define additional commands for this selection process, the 1875In order to define additional commands for this selection process, the
1876keymap @code{reftex-select-bib-map} may be used. 1876keymap @code{reftex-select-bib-mode-map} may be used.
1877 1877
1878Note that if you do not use Emacs to edit the @BibTeX{} database files, 1878Note that if you do not use Emacs to edit the @BibTeX{} database files,
1879@RefTeX{} will ask if the related buffers should be updated once it 1879@RefTeX{} will ask if the related buffers should be updated once it
@@ -3960,7 +3960,7 @@ Normal hook which is run when a @file{*toc*} buffer is
3960created. 3960created.
3961@end deffn 3961@end deffn
3962 3962
3963@deffn Keymap reftex-toc-map 3963@deffn Keymap reftex-toc-mode-map
3964The keymap which is active in the @file{*toc*} buffer. 3964The keymap which is active in the @file{*toc*} buffer.
3965(@pxref{Table of Contents}). 3965(@pxref{Table of Contents}).
3966@end deffn 3966@end deffn
@@ -4425,7 +4425,7 @@ Normal hook which is run when a selection buffer enters
4425@code{reftex-select-label-mode}. 4425@code{reftex-select-label-mode}.
4426@end deffn 4426@end deffn
4427 4427
4428@deffn Keymap reftex-select-label-map 4428@deffn Keymap reftex-select-label-mode-map
4429The keymap which is active in the labels selection process 4429The keymap which is active in the labels selection process
4430(@pxref{Referencing Labels}). 4430(@pxref{Referencing Labels}).
4431@end deffn 4431@end deffn
@@ -4586,7 +4586,7 @@ Normal hook which is run when a selection buffer enters
4586@code{reftex-select-bib-mode}. 4586@code{reftex-select-bib-mode}.
4587@end deffn 4587@end deffn
4588 4588
4589@deffn Keymap reftex-select-bib-map 4589@deffn Keymap reftex-select-bib-mode-map
4590The keymap which is active in the citation-key selection process 4590The keymap which is active in the citation-key selection process
4591(@pxref{Creating Citations}). 4591(@pxref{Creating Citations}).
4592@end deffn 4592@end deffn
@@ -4792,7 +4792,7 @@ into blocks. Sorting will then preserve blocks, so that lines are
4792re-arranged only within blocks. 4792re-arranged only within blocks.
4793@end defopt 4793@end defopt
4794 4794
4795@defopt reftex-index-phrases-map 4795@defopt reftex-index-phrases-mode-map
4796Keymap for the Index Phrases buffer. 4796Keymap for the Index Phrases buffer.
4797@end defopt 4797@end defopt
4798 4798
@@ -4824,7 +4824,7 @@ the document. This flag can be toggled from within the @file{*Index*}
4824buffer with the @kbd{f} key. 4824buffer with the @kbd{f} key.
4825@end defopt 4825@end defopt
4826 4826
4827@deffn Keymap reftex-index-map 4827@deffn Keymap reftex-index-mode-map
4828The keymap which is active in the @file{*Index*} buffer 4828The keymap which is active in the @file{*Index*} buffer
4829(@pxref{Index Support}). 4829(@pxref{Index Support}).
4830@end deffn 4830@end deffn
@@ -5813,8 +5813,8 @@ buffer).
5813@noindent @b{Version 3.12} 5813@noindent @b{Version 3.12}
5814@itemize @bullet 5814@itemize @bullet
5815@item 5815@item
5816There are 3 new keymaps for customization: @code{reftex-toc-map}, 5816There are 3 new keymaps for customization: @code{reftex-toc-mode-map},
5817@code{reftex-select-label-map}, @code{reftex-select-bib-map}. 5817@code{reftex-select-label-mode-map}, @code{reftex-select-bib-mode-map}.
5818@item 5818@item
5819Refontification uses more standard font-lock stuff. 5819Refontification uses more standard font-lock stuff.
5820@item 5820@item
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi
index 9991917b3fd..70d4b054166 100644
--- a/doc/misc/speedbar.texi
+++ b/doc/misc/speedbar.texi
@@ -896,7 +896,7 @@ augmented with speedbar.
896 896
897@enumerate 897@enumerate
898@item 898@item
899Create the keymap variable @code{@var{name}-speedbar-key-map}. 899Create the keymap variable @code{@var{name}-speedbar-mode-map}.
900 900
901@item 901@item
902Create a function, named whatever you like, which assigns values into your 902Create a function, named whatever you like, which assigns values into your
@@ -904,7 +904,7 @@ keymap. Use this command to create the keymap before assigning
904bindings: 904bindings:
905 905
906@smallexample 906@smallexample
907 (setq @var{name}-speedbar-key-map (speedbar-make-specialized-keymap)) 907 (setq @var{name}-speedbar-mode-map (speedbar-make-specialized-keymap))
908@end smallexample 908@end smallexample
909 909
910This function creates a special keymap for use in speedbar. 910This function creates a special keymap for use in speedbar.
@@ -977,7 +977,7 @@ Next, register your extension like this;
977@example 977@example
978 (speedbar-add-expansion-list '("MyExtension" 978 (speedbar-add-expansion-list '("MyExtension"
979 MyExtension-speedbar-menu-items 979 MyExtension-speedbar-menu-items
980 MyExtension-speedbar-key-map 980 MyExtension-speedbar-mode-map
981 MyExtension-speedbar-buttons)) 981 MyExtension-speedbar-buttons))
982@end example 982@end example
983 983
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 8946e2c3f42..176f599649f 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -185,7 +185,8 @@ and you want to simplify them for the mode line
185 185
186(defvar-local which-func-mode nil 186(defvar-local which-func-mode nil
187 "Non-nil means display current function name in mode line. 187 "Non-nil means display current function name in mode line.
188This makes a difference only if `which-function-mode' is non-nil.") 188This makes a difference only if variable `which-function-mode' is
189non-nil.")
189 190
190(add-hook 'after-change-major-mode-hook #'which-func-ff-hook t) 191(add-hook 'after-change-major-mode-hook #'which-func-ff-hook t)
191 192
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index 8a54b1a301f..e1475934ddb 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -814,7 +814,7 @@ in order to only add another reference in the same cite command."
814 (interactive) 814 (interactive)
815 (reftex-citation nil ?t)) 815 (reftex-citation nil ?t))
816 816
817(defvar reftex-select-bib-map) 817(defvar reftex-select-bib-mode-map)
818(defvar reftex--found-list) 818(defvar reftex--found-list)
819(defun reftex-offer-bib-menu () 819(defun reftex-offer-bib-menu ()
820 "Offer bib menu and return list of selected items." 820 "Offer bib menu and return list of selected items."
@@ -870,7 +870,7 @@ in order to only add another reference in the same cite command."
870 (reftex-select-item 870 (reftex-select-item
871 reftex-citation-prompt 871 reftex-citation-prompt
872 reftex-citation-help 872 reftex-citation-help
873 reftex-select-bib-map 873 reftex-select-bib-mode-map
874 nil 874 nil
875 'reftex-bibtex-selection-callback nil)) 875 'reftex-bibtex-selection-callback nil))
876 (setq key (car rtn) 876 (setq key (car rtn)
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el
index 9d5bc5a8f0f..a5d83c34d67 100644
--- a/lisp/textmodes/reftex-ref.el
+++ b/lisp/textmodes/reftex-ref.el
@@ -533,7 +533,7 @@ When called with 2 \\[universal-argument] prefix args, disable magic word recogn
533 (cons (cdr cell) (- (match-end 0) (match-end 1))) 533 (cons (cdr cell) (- (match-end 0) (match-end 1)))
534 nil))) 534 nil)))
535 535
536(defvar reftex-select-label-map) 536(defvar reftex-select-label-mode-map)
537(defun reftex-offer-label-menu (typekey) 537(defun reftex-offer-label-menu (typekey)
538 ;; Offer a menu with the appropriate labels. 538 ;; Offer a menu with the appropriate labels.
539 (let* ((buf (current-buffer)) 539 (let* ((buf (current-buffer))
@@ -605,7 +605,7 @@ When called with 2 \\[universal-argument] prefix args, disable magic word recogn
605 (reftex-select-item 605 (reftex-select-item
606 reftex-select-label-prompt 606 reftex-select-label-prompt
607 reftex-select-label-help 607 reftex-select-label-help
608 reftex-select-label-map 608 reftex-select-label-mode-map
609 offset 609 offset
610 'reftex-show-label-location follow)) 610 'reftex-show-label-location follow))
611 (setq key (car rtn) 611 (setq key (car rtn)