Skip to content

Commit

Permalink
Merge pull request #199 from rothmichaels/basic-save-buffer-alias
Browse files Browse the repository at this point in the history
Correctly preserve original `basic-save-buffer`.
  • Loading branch information
samaaron committed Jul 8, 2015
2 parents d8c2961 + b0b340d commit d762752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packs/dev/foundation-pack/config/monkey-patch.el
Expand Up @@ -101,5 +101,5 @@ Before and after saving the buffer, this function runs
(message "(No changes need to be saved)"))))


(defalias 'live-mp-orig-basic-save-buffer 'basic-save-buffer)
(defalias 'live-mp-orig-basic-save-buffer (symbol-function 'basic-save-buffer))
(defalias 'basic-save-buffer 'live-mp-new-basic-save-buffer)

0 comments on commit d762752

Please sign in to comment.