diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-20 22:12:25 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-20 22:16:24 +0100 |
commit | c167009400f62149a6ab1568ababcfa6ce422467 (patch) | |
tree | 0a88843f3859be4180db53ffd320753c2e31138a /lisp/textmodes | |
parent | eaa44ca40e8da9ba86e6e03b76b41fd6843661d6 (diff) | |
download | emacs-c167009400f62149a6ab1568ababcfa6ce422467.tar.gz emacs-c167009400f62149a6ab1568ababcfa6ce422467.tar.bz2 emacs-c167009400f62149a6ab1568ababcfa6ce422467.zip |
Make some variable aliases obsolete
* lisp/progmodes/make-mode.el (makefile-query-one-target-method):
* lisp/skeleton.el (skeleton-transformation, skeleton-filter):
* lisp/textmodes/artist.el (artist-text-renderer):
* lisp/textmodes/bibtex.el (bibtex-autokey-name-case-convert):
(bibtex-autokey-titleword-case-convert):
* lisp/textmodes/ispell.el (ispell-format-word):
* lisp/textmodes/sgml-mode.el (sgml-transformation):
* lisp/vc/add-log.el (change-log-time-zone-rule): Make variable
aliases obsolete.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/artist.el | 3 | ||||
-rw-r--r-- | lisp/textmodes/bibtex.el | 8 | ||||
-rw-r--r-- | lisp/textmodes/ispell.el | 3 | ||||
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 3 |
4 files changed, 10 insertions, 7 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 25f0c35aa5d..9c9ef9fb634 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -338,7 +338,8 @@ Example: (defvar artist-pointer-shape (if (eq window-system 'x) x-pointer-crosshair nil) "If in X Windows, use this pointer shape while drawing with the mouse.") -(defvaralias 'artist-text-renderer 'artist-text-renderer-function) +(define-obsolete-variable-alias 'artist-text-renderer + 'artist-text-renderer-function "29.1") (defcustom artist-text-renderer-function 'artist-figlet "Function for doing text rendering." diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 2dd4e8e7af0..c721c035d7c 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -1211,8 +1211,8 @@ See `bibtex-generate-autokey' for details." :type '(repeat (cons (regexp :tag "Old") (string :tag "New")))) -(defvaralias 'bibtex-autokey-name-case-convert - 'bibtex-autokey-name-case-convert-function) +(define-obsolete-variable-alias 'bibtex-autokey-name-case-convert + 'bibtex-autokey-name-case-convert-function "29.1") (defcustom bibtex-autokey-name-case-convert-function #'downcase "Function called for each name to perform case conversion. @@ -1286,8 +1286,8 @@ Case is significant. See `bibtex-generate-autokey' for details." :group 'bibtex-autokey :type '(repeat regexp)) -(defvaralias 'bibtex-autokey-titleword-case-convert - 'bibtex-autokey-titleword-case-convert-function) +(define-obsolete-variable-alias 'bibtex-autokey-titleword-case-convert + 'bibtex-autokey-titleword-case-convert-function "29.1") (defcustom bibtex-autokey-titleword-case-convert-function #'downcase "Function called for each titleword to perform case conversion. diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 754ecb3a1d7..c4dd452c0df 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -296,7 +296,8 @@ The following values are supported: "Non-nil means suppress messages in `ispell-word'." :type 'boolean) -(defvaralias 'ispell-format-word 'ispell-format-word-function) +(define-obsolete-variable-alias 'ispell-format-word + 'ispell-format-word-function "29.1") (defcustom ispell-format-word-function (function upcase) "Formatting function for displaying word being spell checked. diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index dedc3882199..cae1fecebcc 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -75,7 +75,8 @@ a DOCTYPE or an XML declaration." :type 'boolean :version "22.1") -(defvaralias 'sgml-transformation 'sgml-transformation-function) +(define-obsolete-variable-alias 'sgml-transformation + 'sgml-transformation-function "29.1") (defcustom sgml-transformation-function 'identity "Default value for `skeleton-transformation-function' in SGML mode." |