[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f365eb2: Preload iso-trans.el
From: |
Lars Ingebrigtsen |
Subject: |
master f365eb2: Preload iso-trans.el |
Date: |
Fri, 4 Dec 2020 04:49:36 -0500 (EST) |
branch: master
commit f365eb2e055c05e8dbd76aca6b6d10b0a888d5da
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Preload iso-trans.el
* lisp/loadup.el ("international/iso-transl"): Load by default so
that we get `Alt-' bindings (bug#21310).
* lisp/international/iso-transl.el: Remove autoloads and some
comments.
---
etc/NEWS | 6 ++++++
lisp/international/iso-transl.el | 10 ----------
lisp/loadup.el | 1 +
3 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/etc/NEWS b/etc/NEWS
index 81f1fe3..7f18f12 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1352,6 +1352,12 @@ This new command (bound to 'C-c C-l') regenerates the
current hunk.
** Miscellaneous
+---
+*** iso-transl is now preloaded.
+This means that keystrokes like 'Alt-[' are defined by default,
+instead of only becoming available after doing (for instance)
+'C-x 8 <letter>'.
+
*** New user option 'completions-detailed'.
When non-nil, some commands like 'describe-symbol' show more detailed
completions with more information in completion prefix and suffix.
diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el
index bde989d..39fd75e 100644
--- a/lisp/international/iso-transl.el
+++ b/lisp/international/iso-transl.el
@@ -30,22 +30,12 @@
;; A-umlaut as `C-x 8 " A' or `Alt-" A' (if you have an Alt key) or
;; `umlaut A' (if you have an umlaut/diaeresis key).
-;; C-x 8 is set up to autoload this package,
-;; but Alt keys and dead accent keys are only defined
-;; once you have loaded the package. It is nontrivial
-;; to make all of the Alt keys autoload, and it is not clear
-;; that the dead accent keys SHOULD autoload this package.
-
;; This package supports all characters defined by ISO 8859-1, along
;; with a few other ISO 10646 characters commonly used in English and
;; basic math.
;;; Code:
-;;; Provide some binding for startup:
-;;;###autoload (define-key key-translation-map "\C-x8" 'iso-transl-ctl-x-8-map)
-;;;###autoload (autoload 'iso-transl-ctl-x-8-map "iso-transl" "Keymap for C-x
8 prefix." t 'keymap)
-
(defvar iso-transl-dead-key-alist
'((?\' . mute-acute)
(?\` . mute-grave)
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 4b711ee..d3c8664 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -351,6 +351,7 @@
(load "cus-start") ;Late to reduce customize-rogue (needs loaddefs.el anyway)
(if (not (eq system-type 'ms-dos))
(load "tooltip"))
+(load "international/iso-transl") ; Binds Alt-[ and friends.
;; This file doesn't exist when building a development version of Emacs
;; from the repository. It is generated just after temacs is built.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f365eb2: Preload iso-trans.el,
Lars Ingebrigtsen <=