notmuch/emacs
Mark Walters b2caa125ee emacs: jump: fix compile warning on emacs 23
notmuch-jump uses window-body-width which is not defined in emacs
23. To get around this it does

(unless (fboundp 'window-body-width)
  ;; Compatibility for Emacs pre-24
  (defalias 'window-body-width 'window-width))

This makes sure window-body-width is defined and all should be
well. But it seems that the byte compiler does not realise that this
guarantees that window-body-width will be defined and so, when
compiling with emacs 23, it gives an error

In end of data:
notmuch-jump.el:172:1:Warning: the function `window-body-width' is not known to be defined.

Domo and I came to following on irc: wrap the (unless (fboundp ...))
inside eval-and-compile which ensures that both the test and the
defalias (if needed) happen at both compile and load time.  This fixes
the warning.
2014-09-24 19:55:36 +02:00
..
.gitignore emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it 2014-04-10 23:25:36 -03:00
coolj.el emacs: Add more functions to clean up text/plain parts 2010-04-26 10:05:46 -07:00
make-deps.el emacs: Compute build dependencies to fix byte compile issues 2013-05-23 08:06:12 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local emacs: Introduce notmuch-jump: shortcut keys to saved searches 2014-08-05 08:07:27 -03:00
notmuch-address.el emacs/notmuch-address.el: add notmuch-address-selection-function 2013-05-13 21:05:29 -03:00
notmuch-crypto.el emacs: show: make buttons select window 2013-02-18 20:13:19 -04:00
notmuch-hello.el emacs: Expand default saved searches and add shortcut keys 2014-08-05 08:07:52 -03:00
notmuch-jump.el emacs: jump: fix compile warning on emacs 23 2014-09-24 19:55:36 +02:00
notmuch-lib.el emacs: Remove redundant NTH argument from `notmuch-get-bodypart-content'. 2014-09-21 21:23:45 +02:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: derive correct timestamp in FCC unique name 2012-06-22 07:39:21 -03:00
notmuch-message.el emacs: replace (funcall 'foo ...) with (foo ...) 2013-06-02 11:37:22 -03:00
notmuch-mua.el emacs: Forwarded messages should not have modified buffers 2014-06-22 07:41:49 -03:00
notmuch-parser.el emacs: Streaming S-expression parser 2013-06-01 08:56:25 -03:00
notmuch-print.el emacs: Put notmuch-print-mechanism in custom group notmuch-show 2012-04-24 23:25:51 -03:00
notmuch-query.el emacs: dropped rest of now-unused JSON functionality 2013-07-20 09:13:48 -03:00
notmuch-show.el emacs: Fix coding system in `notmuch-show-view-raw-message' 2014-09-21 21:23:45 +02:00
notmuch-tag.el emacs: make sure tagging on an empty query is harmless 2014-05-27 20:40:04 -03:00
notmuch-tree.el emacs: tree/show remove duplicate function 2014-07-16 06:33:17 -03:00
notmuch-version.el.tmpl emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it 2014-04-10 23:25:36 -03:00
notmuch-wash.el emacs: Retain text properties when toggling buttons 2013-05-31 22:00:44 -03:00
notmuch.el emacs: set default in notmuch-read-query 2014-07-15 20:32:49 -03:00