summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shortdoc.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-07-20 11:24:49 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-20 13:51:55 +0200
commitb70a00d9bf119b6bc5c1f7c3397d04b7d8892fb7 (patch)
treec943cd223ca536c25ddbf3bfc5641c5cdd3d57a6 /lisp/emacs-lisp/shortdoc.el
parent563bf2fae5ec238172f1f16c81e51b9aadd77017 (diff)
downloademacs-b70a00d9bf119b6bc5c1f7c3397d04b7d8892fb7.tar.gz
emacs-b70a00d9bf119b6bc5c1f7c3397d04b7d8892fb7.tar.bz2
emacs-b70a00d9bf119b6bc5c1f7c3397d04b7d8892fb7.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/shortdoc.el')
-rw-r--r--lisp/emacs-lisp/shortdoc.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 1514ece6d1f..05b3361cb3d 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -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")