diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-02-11 15:03:44 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-02-11 16:18:04 +0100 |
| commit | 8fd88f72f3c880d5bd2e77af43d0590dc09b20cf (patch) | |
| tree | b785572aaa10e6dfb064f999ab2de70f00b17d20 /.emacs.d/init.org | |
| parent | 5ecfe54d15471c2a4b4c71f412161c80f43fd63d (diff) | |
| download | dotfiles-8fd88f72f3c880d5bd2e77af43d0590dc09b20cf.tar.gz dotfiles-8fd88f72f3c880d5bd2e77af43d0590dc09b20cf.zip | |
emacs: use the safer boundp function
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d/init.org')
| -rw-r--r-- | .emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 279b6d8..bf950f4 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -1850,7 +1850,7 @@ There is this handy minor mode I've built which is [[https://github.com/mssola/w After that, I can configure it further. For example, I want <f1> and <f2> to export my current project into PDF and ODT respectively: #+BEGIN_SRC elisp -(when writer-mode-loaded +(when (boundp 'writer-mode-loaded) (define-key org-mode-map (kbd "<f1>") 'writer-org-export-to-pdf) (define-key org-mode-map (kbd "<f2>") 'writer-org-export-to-odt)) #+END_SRC |
