summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-02-23 06:30:16 +0100
committerStefan Kangas <stefankangas@gmail.com>2023-02-23 06:30:16 +0100
commitfad3665069740e002fcb7f9313f9eeec81ad9a0c (patch)
tree16bdc0fb14425235f3a192fe1c89485c4d1fcefb /lisp/simple.el
parent48cc5c0604cea2e6344fe3f7604f9d2881d898bf (diff)
parent94e70ed4261dbfcef679697dfa0dc2348a90dbdc (diff)
downloademacs-fad3665069740e002fcb7f9313f9eeec81ad9a0c.tar.gz
Merge from origin/emacs-29
94e70ed4261 ; * lisp/emacs-lisp/eldoc.el (eldoc-display-in-echo-area)... 1841299a11d Eglot: implement inlay hints (bug#61412, bug#61066) 28ed0d1840f Eglot: run eglot-managed-mode-hook after LSP didOpen 7ad5d9babed Eglot: restore eldoc-documentation-functions on shutdown 711a775ba76 Eglot: simplify capability-checking code ea7251ad6df Eglot: go back to setting eldoc-documentation-strategy again 6016f1982d3 ; * etc/NEWS: Fix typo again d411b4d1fd3 ; * etc/NEWS (C-x v !): Additional text. a0b67252346 ; * doc/emacs/vc1-xtra.texi (Preparing Patches): Wording ... 43c4dd6f962 ; * doc/emacs/anti.texi (Antinews): Adjust to latest chan... 20c654b6f8f Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs ... 177d0cf2a9a ; * etc/NEWS: Fix typos. db7096a532c Yield to erc-move-to-prompt before unhiding prompt db21c84bc94 ; Improve doc string of 'C-q' a6be0be1db6 ; Clarify "kill files" in Gnus manual d816429e2f2 * lisp/progmodes/python.el (python--import-sources): Fix ... 1f4886fdb09 Do not error out on non image file (bug#61639) 003759a6dca Explain effect of variable-pitch fonts on fill-column ba91a76659b Avoid division by zero in get_narrowed_* functions fb5dbf6de73 ; Fix documentation of 'icon-title-format'. 48c9a507713 * etc/NEWS: Mention new buffer display action alist entries 4dc1f2b9a01 ; * src/xterm.c (x_update_end): Condition on HAVE_XDBE f1c83898060 Fix build --without-xdbe ef38774c02c Improve dnd-direct-save-remote-files docstring cf53e62a791 Add 'process-status' to process shortdoc 68df9e5953c * lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename)... 06ba9484166 Improve text about deleting windows 1976ca1634d Make 'emacs-news-cycle-tag' work at all levels # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el26
1 files changed, 15 insertions, 11 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 94578635a02..80c75d4d7c3 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -937,7 +937,7 @@ column specified by the function `current-left-margin'."
(defcustom read-quoted-char-radix 8
"Radix for \\[quoted-insert] and other uses of `read-quoted-char'.
-Legitimate radix values are 8, 10 and 16."
+Supported radix values are 8, 10 and 16."
:type '(choice (const 8) (const 10) (const 16))
:group 'editing-basics)
@@ -1012,21 +1012,25 @@ any other non-digit terminates the character code and is then used as input."))
This is useful for inserting control characters.
With argument, insert ARG copies of the character.
-If the first character you type after this command is an octal digit,
-you should type a sequence of octal digits that specify a character code.
-Any nondigit terminates the sequence. If the terminator is a RET,
-it is discarded; any other terminator is used itself as input.
+If the first character you type is an octal digit, the sequence of
+one or more octal digits you type is interpreted to specify a
+character code. Any character that is not an octal digit terminates
+the sequence. If the terminator is a RET, it is discarded; any
+other terminator is used itself as input and is inserted.
+
The variable `read-quoted-char-radix' specifies the radix for this feature;
-set it to 10 or 16 to use decimal or hex instead of octal.
+set it to 10 or 16 to use decimal or hex instead of octal. If you change
+the radix, the characters interpreted as specifying a character code
+change accordingly: 0 to 9 for decimal, 0 to F for hex.
In overwrite mode, this function inserts the character anyway, and
-does not handle octal digits specially. This means that if you use
-overwrite as your normal editing mode, you can use this function to
-insert characters when necessary.
+does not handle octal (or decimal or hex) digits specially. This means
+that if you use overwrite mode as your normal editing mode, you can use
+this function to insert characters when necessary.
In binary overwrite mode, this function does overwrite, and octal
-digits are interpreted as a character code. This is intended to be
-useful for editing binary files."
+(or decimal or hex) digits are interpreted as a character code. This
+is intended to be useful for editing binary files."
(interactive "*p")
(let* ((char
;; Avoid "obsolete" warnings for translation-table-for-input.