[logaling-commit] logaling/logalimacs [master] Fix problem that is stopped process when search word was empty

Zurück zum Archiv-Index

Yuta Yamada null+****@clear*****
Wed Sep 12 19:43:58 JST 2012


Yuta Yamada	2012-09-12 19:43:58 +0900 (Wed, 12 Sep 2012)

  New Revision: 83f2fdc95f0e7b5d156d3248dfc21d12170c58af
  https://github.com/logaling/logalimacs/commit/83f2fdc95f0e7b5d156d3248dfc21d12170c58af

  Log:
    Fix problem that is stopped process when search word was empty

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+2 -1)
===================================================================
--- logalimacs.el    2012-09-12 14:14:04 +0900 (6fee8fd)
+++ logalimacs.el    2012-09-12 19:43:58 +0900 (b4ec793)
@@ -784,7 +784,8 @@ Otherwise passed character inside region."
     (erase-buffer) ;;initialize
     (insert content)
     (goto-char 0)
-    (loga-highlight (loga-get-search-word))
+    (when (eq :lookup loga-current-command)
+      (loga-highlight (loga-get-search-word)))
     (setq buffer-read-only t))
   (switch-to-buffer loga-base-buffer)
   (popwin:popup-buffer
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index