title: How to overwrite linear-gradient function in Compass?
body: <p>I'd like to use the code <a href="https://github.com/chriseppstein/compass/issues/965" rel="noreferrer">here</a> to overwrite the <code>linear-gradient</code> function that comes with Compass. How can I do this?</p>
  
  <p>I think what I need is a way to import the <code>linear-gradient</code> function and then locally rename it to something else, so that my own <code>linear-gradient</code> function can call it. E.g. something like:</p>
  
  <pre><code>@import "compass/css3/images";
  
  // somehow make `original-lg` alias the current `linear-gradient`
  
  @function linear-gradient($args...) {
    @return original-lg($args...) + ", " + fixed-lg-from-link-above($args...);
  }
  </code></pre>