mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
; Fix doc string of 'lsh'
* lisp/subr.el (lsh): Doc fix. Suggested by Richard Stallman <rms@gnu.org>.
This commit is contained in:
parent
738d854333
commit
29055412f2
@ -507,8 +507,10 @@ If COUNT is negative, shifting is actually to the right.
|
||||
In this case, if VALUE is a negative fixnum treat it as unsigned,
|
||||
i.e., subtract 2 * `most-negative-fixnum' from VALUE before shifting it.
|
||||
|
||||
This function is provided for compatibility. In new code, use `ash'
|
||||
instead."
|
||||
Most uses of this function turn out to be mistakes. We recommend
|
||||
to use `ash' instead, unless COUNT could ever be negative, and
|
||||
if, when COUNT is negative, your program really needs the special
|
||||
treatment of negative COUNT provided by this function."
|
||||
(declare (compiler-macro
|
||||
(lambda (form)
|
||||
(macroexp-warn-and-return "avoid `lsh'; use `ash' instead"
|
||||
|
Loading…
Reference in New Issue
Block a user