[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turning line mode on/off with defun not working
From: |
Wes James |
Subject: |
Re: turning line mode on/off with defun not working |
Date: |
Thu, 05 Dec 2013 17:54:16 +0000 (GMT) |
On Dec 05, 2013, at 10:31 AM, Drew Adams <drew.adams@oracle.com> wrote:
What is the difference?
(interactive)
See the Elisp manual - use `i interactive'.
Or use `C-h f interactive'.
That did it. Thanks.
(defun lnon ()
"Turn line numbers on"
(interactive)
(global-linum-mode t)
)
(defun lnoff ()
"Turn line numbers off"
(interactive)
(global-linum-mode 0)
)
-wes
- turning line mode on/off with defun not working, Wes James, 2013/12/05
- turning line mode on/off with defun not working, Wes James, 2013/12/05
- Re: turning line mode on/off with defun not working, Emanuel Berg, 2013/12/06
- Re: turning line mode on/off with defun not working, Wes James, 2013/12/06
- Message not available
- Re: turning line mode on/off with defun not working, Emanuel Berg, 2013/12/06
- Re: turning line mode on/off with defun not working, Emanuel Berg, 2013/12/06
- Re: turning line mode on/off with defun not working, Emanuel Berg, 2013/12/06
- Re: turning line mode on/off with defun not working, Wes James, 2013/12/06
- Re: turning line mode on/off with defun not working, Emanuel Berg, 2013/12/06