[logaling-commit] logaling/logalimacs [master] loga-delete-popup: Ignore the error (void variable)

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
Mon Jul 23 22:19:29 JST 2012


Yuta Yamada	2012-07-23 22:19:29 +0900 (Mon, 23 Jul 2012)

  New Revision: 76d6c2818f464caefccfffe9e12159de869609d9
  https://github.com/logaling/logalimacs/commit/76d6c2818f464caefccfffe9e12159de869609d9

  Log:
    loga-delete-popup: Ignore the error (void variable)

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+3 -2)
===================================================================
--- logalimacs.el    2012-07-22 23:04:40 +0900 (d6879e8)
+++ logalimacs.el    2012-07-23 22:19:29 +0900 (48022ba)
@@ -546,8 +546,9 @@ Otherwise passed character inside region."
                  (loga-extract-prototype-from (loga-get-search-word)))))
 
 (defun loga-delete-popup ()
-  (if (popup-live-p menu)
-      (popup-delete menu)))
+  (ignore-errors
+    (if (popup-live-p menu)
+        (popup-delete menu))))
 
 (defun loga-to-singular-form (word)
   (if (and loga-use-singular-form
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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