[logaling-commit] logaling/logalimacs [master] use defcustom instead of defvar(loga-word-cache-limit)

Back to archive index

null+****@clear***** null+****@clear*****
Mon Jun 4 15:45:29 JST 2012


yuta yamada	2012-06-04 15:45:29 +0900 (Mon, 04 Jun 2012)

  New Revision: 7c4dd1332c2ae77c8bd3af88438469b378a23746

  Log:
    use defcustom instead of defvar(loga-word-cache-limit)

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+5 -1)
===================================================================
--- logalimacs.el    2012-06-04 15:41:26 +0900 (d0b001f)
+++ logalimacs.el    2012-06-04 15:45:29 +0900 (d5ebad6)
@@ -69,7 +69,11 @@
   :group 'logalimacs
   :type 'integer)
 
-(defvar loga-word-cache-limit 10)
+(defcustom loga-word-cache-limit 10
+  "number of cached words"
+  :group 'logalimacs
+  :type 'integer)
+
 (defvar loga-word-cache nil "cache word used by loga-lookup")
 (defvar loga-current-command nil "get executed current command-name and symbol")
 (defvar loga-current-endpoint nil "store current endpoint symbol")




More information about the logaling-commit mailing list
Back to archive index