Source

erc / erc-macs.el

Diff from to

erc-macs.el

   #'(lambda (x y) (string-equal (erc-downcase x) (erc-downcase y)))
   #'(lambda  (x)  (sxhash (erc-downcase x))))
 
-(make-variable-buffer-local
- (defvar erc-victims (make-hash-table :test 'nickeq)
-   "Hash-table of all known nick names on this server."))
+(defvar erc-victims (make-hash-table :test 'nickeq)
+  "Hash-table of all known nick names on this server.")
+(make-variable-buffer-local 'erc-victims)
 
-(make-variable-buffer-local
- (defvar erc-channel-victims (make-hash-table :test 'nickeq)
-   "Hash-table of all known nick names on this channel.
-Values are (OP VOICE) where OP and VOICE are boolean flags."))
+(defvar erc-channel-victims (make-hash-table :test 'nickeq)
+  "Hash-table of all known nick names on this channel.
+Values are (OP VOICE) where OP and VOICE are boolean flags.")
+(make-variable-buffer-local 'erc-channel-victims)
 
 (defmacro erc-victim (nick)
   "Access NICK.