Completely use cl-lib and lexical-binding
Previously both cl-lib.el and cl.el were used, now use only cl-lib.el. Use lexical-binding where needed instead of requiring cl just for `lexical-let`. Replace some add-to-list with cl-pushnew as add-to-list is not recommended in lisp program and anyway doesn't work properly with lexical binding.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
;;; mu4e-headers.el -- part of mu4e, the mu mail user agent
|
||||
;;; mu4e-headers.el -- part of mu4e, the mu mail user agent -*- lexical-binding: t -*-
|
||||
;;
|
||||
;; Copyright (C) 2011-2017 Dirk-Jan C. Binnema
|
||||
|
||||
@ -1809,10 +1809,10 @@ do nothing."
|
||||
;; emacs has weird ideas about what horizontal, vertical means...
|
||||
(horizontal
|
||||
(window-resize hwin n nil)
|
||||
(incf mu4e-headers-visible-lines n))
|
||||
(cl-incf mu4e-headers-visible-lines n))
|
||||
(vertical
|
||||
(window-resize hwin n t)
|
||||
(incf mu4e-headers-visible-columns n)))))))
|
||||
(cl-incf mu4e-headers-visible-columns n)))))))
|
||||
|
||||
(defun mu4e-headers-split-view-shrink (&optional n)
|
||||
"In split-view, shrink the headers window.
|
||||
|
||||
Reference in New Issue
Block a user