1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00

(xint): Use correct mask.

This commit is contained in:
Karl Heuer 1995-01-04 21:28:53 +00:00
parent 3812b1378b
commit dcda44ddbb

View file

@ -51,7 +51,7 @@ Print the specific type of $, assuming it is some misc type.
end
define xint
print (($ & 0x00ffffff) << 4) >> 4
print (($ & 0x0fffffff) << 4) >> 4
end
document xint
Print $, assuming it is an Emacs Lisp integer. This gets the sign right.