diff options
| author | Dmitry Gutov | 2024-11-26 23:30:36 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2024-11-26 23:34:55 +0200 |
| commit | 298bbf3cd76ffaf0c88a6a9ec56aa33c4103b8e6 (patch) | |
| tree | d0d0cc80804c900cfdeb95273a8c744aeafa7214 | |
| parent | 775290efdf18e67bd0726190fe86326c112a27bf (diff) | |
| download | emacs-298bbf3cd76ffaf0c88a6a9ec56aa33c4103b8e6.tar.gz emacs-298bbf3cd76ffaf0c88a6a9ec56aa33c4103b8e6.zip | |
* lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type.
| -rw-r--r-- | lisp/files.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 72f3604054e..a65bc4a4ea2 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -3621,7 +3621,10 @@ instead. | |||
| 3621 | FUNCTION is typically a major mode which \"does the same thing\" as | 3621 | FUNCTION is typically a major mode which \"does the same thing\" as |
| 3622 | MODE, but can also be nil to hide other entries (either in this var or | 3622 | MODE, but can also be nil to hide other entries (either in this var or |
| 3623 | in `major-mode-remap-defaults') and means that we should call MODE." | 3623 | in `major-mode-remap-defaults') and means that we should call MODE." |
| 3624 | :type '(alist (symbol) (function))) | 3624 | :type '(alist |
| 3625 | :tag "Remappings" | ||
| 3626 | :key-type (symbol :tag "From major mode") | ||
| 3627 | :value-type (function :tag "To mode (or function)"))) | ||
| 3625 | 3628 | ||
| 3626 | (defvar major-mode-remap-defaults nil | 3629 | (defvar major-mode-remap-defaults nil |
| 3627 | "Alist mapping file-specified modes to alternative modes. | 3630 | "Alist mapping file-specified modes to alternative modes. |