diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/artist.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex.el | 10 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 3 |
6 files changed, 18 insertions, 12 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index e9ae6a4ce97..61ca0856bc9 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -351,13 +351,12 @@ Example: | |||
| 351 | (defvar artist-pointer-shape (if (eq window-system 'x) x-pointer-crosshair nil) | 351 | (defvar artist-pointer-shape (if (eq window-system 'x) x-pointer-crosshair nil) |
| 352 | "If in X Windows, use this pointer shape while drawing with the mouse.") | 352 | "If in X Windows, use this pointer shape while drawing with the mouse.") |
| 353 | 353 | ||
| 354 | (defvaralias 'artist-text-renderer 'artist-text-renderer-function) | ||
| 354 | 355 | ||
| 355 | (defcustom artist-text-renderer-function 'artist-figlet | 356 | (defcustom artist-text-renderer-function 'artist-figlet |
| 356 | "Function for doing text rendering." | 357 | "Function for doing text rendering." |
| 357 | :group 'artist-text | 358 | :group 'artist-text |
| 358 | :type 'symbol) | 359 | :type 'symbol) |
| 359 | (defvaralias 'artist-text-renderer 'artist-text-renderer-function) | ||
| 360 | |||
| 361 | 360 | ||
| 362 | (defcustom artist-figlet-program "figlet" | 361 | (defcustom artist-figlet-program "figlet" |
| 363 | "Program to run for `figlet'." | 362 | "Program to run for `figlet'." |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 79eb22e5ed7..89c94eb7e90 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -1038,6 +1038,9 @@ See `bibtex-generate-autokey' for details." | |||
| 1038 | :type '(repeat (cons (regexp :tag "Old") | 1038 | :type '(repeat (cons (regexp :tag "Old") |
| 1039 | (string :tag "New")))) | 1039 | (string :tag "New")))) |
| 1040 | 1040 | ||
| 1041 | (defvaralias 'bibtex-autokey-name-case-convert | ||
| 1042 | 'bibtex-autokey-name-case-convert-function) | ||
| 1043 | |||
| 1041 | (defcustom bibtex-autokey-name-case-convert-function 'downcase | 1044 | (defcustom bibtex-autokey-name-case-convert-function 'downcase |
| 1042 | "Function called for each name to perform case conversion. | 1045 | "Function called for each name to perform case conversion. |
| 1043 | See `bibtex-generate-autokey' for details." | 1046 | See `bibtex-generate-autokey' for details." |
| @@ -1049,8 +1052,6 @@ See `bibtex-generate-autokey' for details." | |||
| 1049 | (function :tag "Conversion function"))) | 1052 | (function :tag "Conversion function"))) |
| 1050 | (put 'bibtex-autokey-name-case-convert-function 'safe-local-variable | 1053 | (put 'bibtex-autokey-name-case-convert-function 'safe-local-variable |
| 1051 | (lambda (x) (memq x '(upcase downcase capitalize identity)))) | 1054 | (lambda (x) (memq x '(upcase downcase capitalize identity)))) |
| 1052 | (defvaralias 'bibtex-autokey-name-case-convert | ||
| 1053 | 'bibtex-autokey-name-case-convert-function) | ||
| 1054 | 1055 | ||
| 1055 | (defcustom bibtex-autokey-name-length 'infty | 1056 | (defcustom bibtex-autokey-name-length 'infty |
| 1056 | "Number of characters from name to incorporate into key. | 1057 | "Number of characters from name to incorporate into key. |
| @@ -1113,6 +1114,9 @@ Case is significant. See `bibtex-generate-autokey' for details." | |||
| 1113 | :group 'bibtex-autokey | 1114 | :group 'bibtex-autokey |
| 1114 | :type '(repeat regexp)) | 1115 | :type '(repeat regexp)) |
| 1115 | 1116 | ||
| 1117 | (defvaralias 'bibtex-autokey-titleword-case-convert | ||
| 1118 | 'bibtex-autokey-titleword-case-convert-function) | ||
| 1119 | |||
| 1116 | (defcustom bibtex-autokey-titleword-case-convert-function 'downcase | 1120 | (defcustom bibtex-autokey-titleword-case-convert-function 'downcase |
| 1117 | "Function called for each titleword to perform case conversion. | 1121 | "Function called for each titleword to perform case conversion. |
| 1118 | See `bibtex-generate-autokey' for details." | 1122 | See `bibtex-generate-autokey' for details." |
| @@ -1122,8 +1126,6 @@ See `bibtex-generate-autokey' for details." | |||
| 1122 | (const :tag "Capitalize" capitalize) | 1126 | (const :tag "Capitalize" capitalize) |
| 1123 | (const :tag "Upcase" upcase) | 1127 | (const :tag "Upcase" upcase) |
| 1124 | (function :tag "Conversion function"))) | 1128 | (function :tag "Conversion function"))) |
| 1125 | (defvaralias 'bibtex-autokey-titleword-case-convert | ||
| 1126 | 'bibtex-autokey-titleword-case-convert-function) | ||
| 1127 | 1129 | ||
| 1128 | (defcustom bibtex-autokey-titleword-abbrevs nil | 1130 | (defcustom bibtex-autokey-titleword-abbrevs nil |
| 1129 | "Determines exceptions to the usual abbreviation mechanism. | 1131 | "Determines exceptions to the usual abbreviation mechanism. |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 2d0307845ca..9747f8e2ebf 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -321,14 +321,16 @@ If this variable is nil, all regions are treated as small." | |||
| 321 | ;;* (lambda () (setq flyspell-generic-check-word-predicate */ | 321 | ;;* (lambda () (setq flyspell-generic-check-word-predicate */ |
| 322 | ;;* 'mail-mode-flyspell-verify))) */ | 322 | ;;* 'mail-mode-flyspell-verify))) */ |
| 323 | ;;*---------------------------------------------------------------------*/ | 323 | ;;*---------------------------------------------------------------------*/ |
| 324 | |||
| 325 | (define-obsolete-variable-alias 'flyspell-generic-check-word-p | ||
| 326 | 'flyspell-generic-check-word-predicate "25.1") | ||
| 327 | |||
| 324 | (defvar flyspell-generic-check-word-predicate nil | 328 | (defvar flyspell-generic-check-word-predicate nil |
| 325 | "Function providing per-mode customization over which words are flyspelled. | 329 | "Function providing per-mode customization over which words are flyspelled. |
| 326 | Returns t to continue checking, nil otherwise. | 330 | Returns t to continue checking, nil otherwise. |
| 327 | Flyspell mode sets this variable to whatever is the `flyspell-mode-predicate' | 331 | Flyspell mode sets this variable to whatever is the `flyspell-mode-predicate' |
| 328 | property of the major mode name.") | 332 | property of the major mode name.") |
| 329 | (make-variable-buffer-local 'flyspell-generic-check-word-predicate) | 333 | (make-variable-buffer-local 'flyspell-generic-check-word-predicate) |
| 330 | (define-obsolete-variable-alias 'flyspell-generic-check-word-p | ||
| 331 | 'flyspell-generic-check-word-predicate "25.1") | ||
| 332 | 334 | ||
| 333 | ;;*--- mail mode -------------------------------------------------------*/ | 335 | ;;*--- mail mode -------------------------------------------------------*/ |
| 334 | (put 'mail-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) | 336 | (put 'mail-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index ba98ea55199..18bf2630e58 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -318,12 +318,13 @@ The following values are supported: | |||
| 318 | :type 'boolean | 318 | :type 'boolean |
| 319 | :group 'ispell) | 319 | :group 'ispell) |
| 320 | 320 | ||
| 321 | (defvaralias 'ispell-format-word 'ispell-format-word-function) | ||
| 322 | |||
| 321 | (defcustom ispell-format-word-function (function upcase) | 323 | (defcustom ispell-format-word-function (function upcase) |
| 322 | "Formatting function for displaying word being spell checked. | 324 | "Formatting function for displaying word being spell checked. |
| 323 | The function must take one string argument and return a string." | 325 | The function must take one string argument and return a string." |
| 324 | :type 'function | 326 | :type 'function |
| 325 | :group 'ispell) | 327 | :group 'ispell) |
| 326 | (defvaralias 'ispell-format-word 'ispell-format-word-function) | ||
| 327 | 328 | ||
| 328 | (defcustom ispell-use-framepop-p nil | 329 | (defcustom ispell-use-framepop-p nil |
| 329 | "When non-nil ispell uses framepop to display choices in a dedicated frame. | 330 | "When non-nil ispell uses framepop to display choices in a dedicated frame. |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 48c01289347..40d75a9db84 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -796,6 +796,9 @@ Return ADO if so or signal an error otherwise." | |||
| 796 | 796 | ||
| 797 | ;; Public class methods | 797 | ;; Public class methods |
| 798 | 798 | ||
| 799 | (define-obsolete-variable-alias | ||
| 800 | 'rst-preferred-decorations 'rst-preferred-adornments "rst 1.0.0") | ||
| 801 | |||
| 799 | (defvar rst-preferred-adornments) ; Forward declaration. | 802 | (defvar rst-preferred-adornments) ; Forward declaration. |
| 800 | 803 | ||
| 801 | (defun rst-Hdr-preferred-adornments () | 804 | (defun rst-Hdr-preferred-adornments () |
| @@ -1481,8 +1484,6 @@ for modes derived from Text mode, like Mail mode." | |||
| 1481 | :group 'rst | 1484 | :group 'rst |
| 1482 | :version "21.1") | 1485 | :version "21.1") |
| 1483 | 1486 | ||
| 1484 | (define-obsolete-variable-alias | ||
| 1485 | 'rst-preferred-decorations 'rst-preferred-adornments "rst 1.0.0") | ||
| 1486 | ;; FIXME: Default must match suggestion in | 1487 | ;; FIXME: Default must match suggestion in |
| 1487 | ;; http://sphinx-doc.org/rest.html#sections for Python documentation. | 1488 | ;; http://sphinx-doc.org/rest.html#sections for Python documentation. |
| 1488 | (defcustom rst-preferred-adornments '((?= over-and-under 1) | 1489 | (defcustom rst-preferred-adornments '((?= over-and-under 1) |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 811eb6622a2..30ca11199d4 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -76,6 +76,8 @@ a DOCTYPE or an XML declaration." | |||
| 76 | :version "22.1" | 76 | :version "22.1" |
| 77 | :group 'sgml) | 77 | :group 'sgml) |
| 78 | 78 | ||
| 79 | (defvaralias 'sgml-transformation 'sgml-transformation-function) | ||
| 80 | |||
| 79 | (defcustom sgml-transformation-function 'identity | 81 | (defcustom sgml-transformation-function 'identity |
| 80 | "Default value for `skeleton-transformation-function' in SGML mode." | 82 | "Default value for `skeleton-transformation-function' in SGML mode." |
| 81 | :type 'function | 83 | :type 'function |
| @@ -92,7 +94,6 @@ a DOCTYPE or an XML declaration." | |||
| 92 | 94 | ||
| 93 | (put 'sgml-transformation-function 'variable-interactive | 95 | (put 'sgml-transformation-function 'variable-interactive |
| 94 | "aTransformation function: ") | 96 | "aTransformation function: ") |
| 95 | (defvaralias 'sgml-transformation 'sgml-transformation-function) | ||
| 96 | 97 | ||
| 97 | (defcustom sgml-mode-hook nil | 98 | (defcustom sgml-mode-hook nil |
| 98 | "Hook run by command `sgml-mode'. | 99 | "Hook run by command `sgml-mode'. |