Gently discourage use of lsh
(bug#56641)
* lisp/subr.el (lsh): Note the general preference for `ash`. * lisp/emacs-lisp/shortdoc.el (number): Remove entry for `lsh`. It was identical to that for `ash` which is misleading. Shortdoc is very helpful for finding the right function to use, and `lsh` is just for compatibility at this point.
This commit is contained in:
parent
563bf2fae5
commit
b70a00d9bf
2 changed files with 4 additions and 4 deletions
|
@ -1183,9 +1183,6 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
|
|||
(ash
|
||||
:eval (ash 1 4)
|
||||
:eval (ash 16 -1))
|
||||
(lsh
|
||||
:eval (lsh 1 4)
|
||||
:eval (lsh 16 -1))
|
||||
(logand
|
||||
:no-eval "(logand #b10 #b111)"
|
||||
:result-string "#b10")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue