Browse Source

Backport commit 563bf2fae from Emacs

; * lisp/org/ol.el (org-link--decode-compound): `lsh` -> `ash`
563bf2fae5ec238172f1f16c81e51b9aadd77017
Mattias Engdegård
Wed Jul 20 13:51:55 2022 +0200
Mattias Engdegård 2 năm trước cách đây
mục cha
commit
1adbaca75a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/ol.el

+ 1 - 1
lisp/ol.el

@@ -646,7 +646,7 @@ followed by another \"%[A-F0-9]{2}\" group."
 		  (cons 6 128))))
 	  (when (>= val 192) (setq eat (car shift-xor)))
 	  (setq val (logxor val (cdr shift-xor)))
-	  (setq sum (+ (lsh sum (car shift-xor)) val))
+	  (setq sum (+ (ash sum (car shift-xor)) val))
 	  (when (> eat 0) (setq eat (- eat 1)))
 	  (cond
 	   ((= 0 eat)			;multi byte