emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some typos in docstrings and the Emacs manual


From: Christian Schlauer
Subject: Some typos in docstrings and the Emacs manual
Date: Sun, 17 Jul 2005 17:06:32 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

I found some typos in docstrings and in the Emacs manual, see below.
They were all still existing in:

,----
| In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
|  of 2005-07-16 on whisker
`----

* docstrings with `iff' instead of `if'

I'm not a native English speaker, but I asked aspell, and it doesn't
know `iff' either:

,----[ C-h f column-number-mode RET ]
| With arg, turn Column Number mode on iff arg is positive.
`----

,----[ C-h f global-whitespace-mode RET ]
| With arg, turn the mode on iff arg is positive.
`----

,----[ C-h f blink-cursor-mode RET ]
| With a numeric argument, turn blinking cursor mode on iff arg is positive.
`----

There might be more of these.

* Emacs manual:

The example sets the background colour, not the foreground colour as
the text says:

,----[ (info "(emacs)Creating Frames") ]
| Here's a similar example for specifying a foreground color:
| 
|      (add-to-list 'default-frame-alist '(background-color . "blue"))
`----

There is no function `blinking-cursor-mode'. It is called
`blink-cursor-mode' (but the NEWS file says there is the command line
option `--no-blinking-cursor'):

,----[ (info "(emacs)Init Examples") ]
|           (if (fboundp 'blinking-cursor-mode)
|               (blinking-cursor-mode 0))
`----

The indentation of the second line is not correct:

,----[ (info "(emacs)Init Examples") ]
|           (if (boundp 'coding-category-utf-8)
|             (set-coding-priority '(coding-category-utf-8)))
`----

-- 
Christian Schlauer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]