Here is part of my init.el
:
(defun xx-devanagari-script ()
(interactive)
(save-excursion
(face-remap-add-relative 'default :family "Lohit Devanagari")
(text-scale-increase)
(text-scale-increase)))
(global-set-key (kbd "C-c d") 'xx-devanagari-script)
All I am trying to do is change the font of the current buffer to 'Lohit Devanagari' and increase the text scale twice.
It changes the font. But the text scale does not increase. It also produces an error:
Wrong number of arguments: (1 . 1), 0
How do I get my first elisp function going?