]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-address.el
emacs: add compatibility functions for emacs 23
[notmuch] / emacs / notmuch-address.el
index 10eaab196267bbad86c967e1318ea6083a577b44..34793dbec99e235ae863ae63dbc6d79881ce3efb 100644 (file)
@@ -136,11 +136,11 @@ toggles the setting in this buffer."
   (interactive)
   (if (local-variable-p 'notmuch-address-command)
       (kill-local-variable 'notmuch-address-command)
-    (setq-local notmuch-address-command 'internal))
+    (notmuch-setq-local notmuch-address-command 'internal))
   (if (boundp 'company-idle-delay)
       (if (local-variable-p 'company-idle-delay)
          (kill-local-variable 'company-idle-delay)
-       (setq-local company-idle-delay nil))))
+       (notmuch-setq-local company-idle-delay nil))))
 
 (defun notmuch-address-matching (substring)
   "Returns a list of completion candidates matching SUBSTRING.