MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / getFromRing

Function getFromRing

static/js/codemirror/keymap/emacs.js:9–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 if (killRing.length > 50) killRing.shift();
8 }
9 function getFromRing() { return killRing[killRing.length - 1] || ""; }
10 function popFromRing() { if (killRing.length > 1) killRing.pop(); return getFromRing(); }
11
12 CodeMirror.keyMap.emacs = {

Callers 2

popFromRingFunction · 0.85
emacs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected