diff options
| author | Stefan Kangas | 2023-09-02 15:37:08 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-09-02 15:37:08 +0200 |
| commit | 0bd46619413e83fe3c85c8a1dfbf5e20dfce8605 (patch) | |
| tree | d86c08c2671f817167eadfc15f0cf319dd6b0dc6 | |
| parent | 524c0c34f245440e45f3672b35b32e529cbb5c2a (diff) | |
| download | emacs-0bd46619413e83fe3c85c8a1dfbf5e20dfce8605.tar.gz emacs-0bd46619413e83fe3c85c8a1dfbf5e20dfce8605.zip | |
Doc fixes for obsolete functions and variables
* admin/notes/multi-tty:
* doc/emacs/building.texi (Debugger Operation):
* doc/misc/efaq-w32.texi (Line ends by file system):
* doc/misc/gnus.texi (Hashcash):
* lisp/emacs-lisp/eieio.el (eieio-class-parents)
(eieio-class-children):
* lisp/progmodes/perl-mode.el:
* lisp/textmodes/ispell.el (ispell-lookup-words):
* src/buffer.h: Update or delete references to variables and functions
made obsolete in Emacs 24.4.
| -rw-r--r-- | admin/notes/multi-tty | 2 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 7 | ||||
| -rw-r--r-- | doc/misc/efaq-w32.texi | 12 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eieio.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/perl-mode.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 | ||||
| -rw-r--r-- | src/buffer.h | 6 |
8 files changed, 17 insertions, 29 deletions
diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty index d0b63f166fd..16f2bec4d80 100644 --- a/admin/notes/multi-tty +++ b/admin/notes/multi-tty | |||
| @@ -480,8 +480,6 @@ THINGS TO DO | |||
| 480 | 480 | ||
| 481 | ** Have a look at set_frame_matrix_frame. | 481 | ** Have a look at set_frame_matrix_frame. |
| 482 | 482 | ||
| 483 | ** Check if we got term-setup-hook right. | ||
| 484 | |||
| 485 | ** I think tip_frame should be display-local. | 483 | ** I think tip_frame should be display-local. |
| 486 | 484 | ||
| 487 | ** Check display reference count handling in x_create_tip_frame. | 485 | ** Check display reference count handling in x_create_tip_frame. |
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index f82b605598e..d6610099460 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -701,7 +701,6 @@ to recompile and restart the program. | |||
| 701 | @cindex GUD Tooltip mode | 701 | @cindex GUD Tooltip mode |
| 702 | @cindex mode, GUD Tooltip | 702 | @cindex mode, GUD Tooltip |
| 703 | @findex gud-tooltip-mode | 703 | @findex gud-tooltip-mode |
| 704 | @vindex gud-tooltip-echo-area | ||
| 705 | GUD Tooltip mode is a global minor mode that adds tooltip support to | 704 | GUD Tooltip mode is a global minor mode that adds tooltip support to |
| 706 | GUD@. To toggle this mode, type @kbd{M-x gud-tooltip-mode}. It is | 705 | GUD@. To toggle this mode, type @kbd{M-x gud-tooltip-mode}. It is |
| 707 | disabled by default. If enabled, you can move the mouse pointer over a | 706 | disabled by default. If enabled, you can move the mouse pointer over a |
| @@ -713,10 +712,8 @@ you can tell Emacs more explicitly what expression to evaluate by | |||
| 713 | dragging the mouse over the expression, then leaving the mouse inside | 712 | dragging the mouse over the expression, then leaving the mouse inside |
| 714 | the marked area. The GUD Tooltip mode takes effect in the GUD | 713 | the marked area. The GUD Tooltip mode takes effect in the GUD |
| 715 | interaction buffer, and in all source buffers with major modes listed | 714 | interaction buffer, and in all source buffers with major modes listed |
| 716 | in the variable @code{gud-tooltip-modes}. If the variable | 715 | in the variable @code{gud-tooltip-modes}. If you turned off the |
| 717 | @code{gud-tooltip-echo-area} is non-@code{nil}, or if you turned off | 716 | tooltip mode, values are shown in the echo area instead of a tooltip. |
| 718 | the tooltip mode, values are shown in the echo area instead of a | ||
| 719 | tooltip. | ||
| 720 | 717 | ||
| 721 | When using GUD Tooltip mode with @kbd{M-x gud-gdb}, displaying an | 718 | When using GUD Tooltip mode with @kbd{M-x gud-gdb}, displaying an |
| 722 | expression's value in GDB can sometimes expand a macro, potentially | 719 | expression's value in GDB can sometimes expand a macro, potentially |
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi index 71d4b4e1fc2..de9354500df 100644 --- a/doc/misc/efaq-w32.texi +++ b/doc/misc/efaq-w32.texi | |||
| @@ -1168,15 +1168,15 @@ binary and the Ctrl-M characters are significant. | |||
| 1168 | @subsection CR/LF translation by file system | 1168 | @subsection CR/LF translation by file system |
| 1169 | @cindex line ends, determining by filesystem | 1169 | @cindex line ends, determining by filesystem |
| 1170 | @cindex binary files, determining by filesystem | 1170 | @cindex binary files, determining by filesystem |
| 1171 | @vindex untranslated-filesystem-list | 1171 | @vindex w32-untranslated-filesystem-list |
| 1172 | @findex add-untranslated-filesystem | 1172 | @findex w32-add-untranslated-filesystem |
| 1173 | @findex remove-untranslated-filesystem | 1173 | @findex w32-remove-untranslated-filesystem |
| 1174 | 1174 | ||
| 1175 | The variable @code{untranslated-filesystem-list} defines whole | 1175 | The variable @code{w32-untranslated-filesystem-list} defines whole |
| 1176 | directory trees that should not have CR/LF autodetection performed on | 1176 | directory trees that should not have CR/LF autodetection performed on |
| 1177 | them. The list can be manipulated with the functions | 1177 | them. The list can be manipulated with the functions |
| 1178 | @code{add-untranslated-filesystem} and | 1178 | @code{w32-add-untranslated-filesystem} and |
| 1179 | @code{remove-untranslated-filesystem}. With auto-detection in | 1179 | @code{w32-remove-untranslated-filesystem}. With auto-detection in |
| 1180 | recent versions of Emacs, this is seldom useful for existing files, | 1180 | recent versions of Emacs, this is seldom useful for existing files, |
| 1181 | but can still be used to influence the choice of line ends for newly | 1181 | but can still be used to influence the choice of line ends for newly |
| 1182 | created files. | 1182 | created files. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index e995469ee3d..f7a2d730701 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -24523,8 +24523,8 @@ that is needed. It can also contain @samp{(@var{addr} @var{string} | |||
| 24523 | @var{amount})} cells, where the @var{string} is the string to use | 24523 | @var{amount})} cells, where the @var{string} is the string to use |
| 24524 | (normally the email address or newsgroup name is used). | 24524 | (normally the email address or newsgroup name is used). |
| 24525 | 24525 | ||
| 24526 | @item hashcash-path | 24526 | @item hashcash-program |
| 24527 | @vindex hashcash-path | 24527 | @vindex hashcash-program |
| 24528 | Where the @code{hashcash} binary is installed. This variable should | 24528 | Where the @code{hashcash} binary is installed. This variable should |
| 24529 | be automatically set by @code{executable-find}, but if it's @code{nil} | 24529 | be automatically set by @code{executable-find}, but if it's @code{nil} |
| 24530 | (usually because the @code{hashcash} binary is not in your path) | 24530 | (usually because the @code{hashcash} binary is not in your path) |
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el index 064a55f2727..dcb4fe5ee6f 100644 --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el | |||
| @@ -448,16 +448,13 @@ If EXTRA, include that in the string returned to represent the symbol." | |||
| 448 | 448 | ||
| 449 | (defun eieio-class-parents (class) | 449 | (defun eieio-class-parents (class) |
| 450 | ;; FIXME: What does "(overload of variable)" mean here? | 450 | ;; FIXME: What does "(overload of variable)" mean here? |
| 451 | "Return parent classes to CLASS. (overload of variable). | 451 | "Return parent classes to CLASS. (overload of variable)." |
| 452 | |||
| 453 | The CLOS function `class-direct-superclasses' is aliased to this function." | ||
| 454 | (eieio--class-parents (eieio--full-class-object class))) | 452 | (eieio--class-parents (eieio--full-class-object class))) |
| 455 | 453 | ||
| 456 | (define-obsolete-function-alias 'class-parents #'eieio-class-parents "24.4") | 454 | (define-obsolete-function-alias 'class-parents #'eieio-class-parents "24.4") |
| 457 | 455 | ||
| 458 | (defun eieio-class-children (class) | 456 | (defun eieio-class-children (class) |
| 459 | "Return child classes to CLASS. | 457 | "Return child classes to CLASS." |
| 460 | The CLOS function `class-direct-subclasses' is aliased to this function." | ||
| 461 | (cl-check-type class class) | 458 | (cl-check-type class class) |
| 462 | (eieio--class-children (cl--find-class class))) | 459 | (eieio--class-children (cl--find-class class))) |
| 463 | (define-obsolete-function-alias | 460 | (define-obsolete-function-alias |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index ab6333e4b23..9137119d052 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -47,10 +47,6 @@ | |||
| 47 | ;; comment; move to end of line; create an empty comment; tell you that | 47 | ;; comment; move to end of line; create an empty comment; tell you that |
| 48 | ;; the line ends in a quoted string, or has a # which should be a \#. | 48 | ;; the line ends in a quoted string, or has a # which should be a \#. |
| 49 | 49 | ||
| 50 | ;; If your machine is slow, you may want to remove some of the bindings | ||
| 51 | ;; to perl-electric-terminator. I changed the indenting defaults to be | ||
| 52 | ;; what Larry Wall uses in perl/lib, but left in all the options. | ||
| 53 | |||
| 54 | ;; I also tuned a few things: comments and labels starting in column | 50 | ;; I also tuned a few things: comments and labels starting in column |
| 55 | ;; zero are left there by perl-indent-exp; perl-beginning-of-function | 51 | ;; zero are left there by perl-indent-exp; perl-beginning-of-function |
| 56 | ;; goes back to the first open brace/paren in column zero, the open brace | 52 | ;; goes back to the first open brace/paren in column zero, the open brace |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 97c4ce9f32d..eb550b639a3 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -2523,9 +2523,9 @@ this function signals an error." | |||
| 2523 | 2523 | ||
| 2524 | (if lookup-dict | 2524 | (if lookup-dict |
| 2525 | (unless (file-readable-p lookup-dict) | 2525 | (unless (file-readable-p lookup-dict) |
| 2526 | (error "lookup-words error: Unreadable or missing plain word-list %s." | 2526 | (error "ispell-lookup-words: Unreadable or missing plain word-list %s" |
| 2527 | lookup-dict)) | 2527 | lookup-dict)) |
| 2528 | (error (concat "lookup-words error: No plain word-list found at system" | 2528 | (error (concat "ispell-lookup-words: No plain word-list found at system" |
| 2529 | "default locations. " | 2529 | "default locations. " |
| 2530 | "Customize `ispell-alternate-dictionary' to set yours."))) | 2530 | "Customize `ispell-alternate-dictionary' to set yours."))) |
| 2531 | 2531 | ||
diff --git a/src/buffer.h b/src/buffer.h index c0e38ce9659..69b0aed53e4 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -651,9 +651,9 @@ struct buffer | |||
| 651 | ptrdiff_t last_window_start; | 651 | ptrdiff_t last_window_start; |
| 652 | 652 | ||
| 653 | /* If the long line scan cache is enabled (i.e. the buffer-local | 653 | /* If the long line scan cache is enabled (i.e. the buffer-local |
| 654 | variable cache-long-line-scans is non-nil), newline_cache | 654 | variable cache-long-scans is non-nil), newline_cache points to |
| 655 | points to the newline cache, and width_run_cache points to the | 655 | the newline cache, and width_run_cache points to the width run |
| 656 | width run cache. | 656 | cache. |
| 657 | 657 | ||
| 658 | The newline cache records which stretches of the buffer are | 658 | The newline cache records which stretches of the buffer are |
| 659 | known *not* to contain newlines, so that they can be skipped | 659 | known *not* to contain newlines, so that they can be skipped |