Skip to content

Instantly share code, notes, and snippets.

@myuhe
Created August 5, 2013 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myuhe/6154293 to your computer and use it in GitHub Desktop.
Save myuhe/6154293 to your computer and use it in GitHub Desktop.
diff -r 88dc0036b12c .emacs.d/vendor/elpa/pophint-20130804.1927/pophint.el
--- a/.emacs.d/vendor/elpa/pophint-20130804.1927/pophint.el Mon Aug 05 09:22:40 2013 +0900
+++ b/.emacs.d/vendor/elpa/pophint-20130804.1927/pophint.el Mon Aug 05 17:28:19 2013 +0900
@@ -530,10 +530,10 @@
(with-selected-window (or (and (windowp window) (window-live-p window) window)
(nth 0 (get-buffer-window-list)))
(save-restriction
- (narrow-to-region (save-excursion (or (when (forward-line -100) (point))
- (point-min)))
- (save-excursion (or (when (forward-line 100) (point))
- (point-max))))
+ (narrow-to-region (save-excursion
+ (point-min))
+ (save-excursion
+ (point-max)))
(loop with srcmtd = (pophint--expand-function-symbol (assoc-default 'method source))
with init = (pophint--expand-function-symbol (assoc-default 'init source))
with requires = (or (assoc-default 'requires source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment