all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
To: 52261@debbugs.gnu.org
Subject: bug#52261: [PATCH] Document `iso-transl-set-language'
Date: Fri, 03 Dec 2021 16:52:12 +0100	[thread overview]
Message-ID: <m27dcleleb.fsf@ntnu.no> (raw)

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

As discussed devel.  Feedback appreciated as I'm not accustomed to
writing docstrings for Emacs functions.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-a-docstring-to-iso-transl-set-language.patch --]
[-- Type: text/x-patch, Size: 1240 bytes --]

From ec1e489fc2cf2b49e91316307aaa550bf2d8b3d1 Mon Sep 17 00:00:00 2001
From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
Date: Fri, 3 Dec 2021 16:45:16 +0100
Subject: [PATCH] Add a docstring to `iso-transl-set-language'

* lisp/international/iso-transl.el: Document `iso-transl-set-language'
---
 lisp/international/iso-transl.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el
index 2c7da2b7cd..bd2a33b538 100644
--- a/lisp/international/iso-transl.el
+++ b/lisp/international/iso-transl.el
@@ -294,6 +294,13 @@ sequence VECTOR.  (VECTOR is normally one character long.)")
     (setq alist (cdr alist))))
 
 (defun iso-transl-set-language (lang)
+  "Set shorter key-bindings with the `C-x 8' prefix for some characters relevant for `lang'.
+
+Note that only a few languages are supported, and for more
+rigorous support it is recommended to use an input method
+instead.  Also note that many of these characters can be input
+with the regular `C-x 8' map without having to specify a language
+here."
   (interactive (list (let ((completion-ignore-case t))
 		       (completing-read "Set which language? "
 					iso-transl-language-alist nil t))))
-- 
2.34.1


             reply	other threads:[~2021-12-03 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 15:52 Tor Kringeland [this message]
2021-12-03 17:09 ` bug#52261: [PATCH] Document `iso-transl-set-language' Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27dcleleb.fsf@ntnu.no \
    --to=tor.a.s.kringeland@ntnu.no \
    --cc=52261@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.