Skip to content

Commit

Permalink
Merge pull request #13 from minad/warnings
Browse files Browse the repository at this point in the history
Fix warnings on Emacs 28
  • Loading branch information
purcell authored Jan 3, 2022
2 parents 4ca3265 + 3c6d80d commit f9140b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions diredfl.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
;; Adams' `dired+' package, but published via a modern means, and with
;; support for older Emacsen removed.

;; Enable in all dired buffers by calling or customising `diredfl-global-mode'.
;; Enable in all Dired buffers by calling or customising `diredfl-global-mode'.

;; Alternatively:

Expand All @@ -39,7 +39,7 @@
(require 'dired)

(defgroup diredfl ()
"Extra font lock rules for a more colourful dired."
"Extra font lock rules for a more colourful Dired."
:group 'dired)

(defcustom diredfl-compressed-extensions '(".tar" ".taz" ".tgz" ".arj" ".lzh"
Expand Down Expand Up @@ -356,8 +356,7 @@ LIMIT is the extent of the search."
;;;###autoload
(define-minor-mode diredfl-mode
"Enable additional font locking in `dired-mode'."
nil
:lighter ""
:global nil
(setq font-lock-defaults
(if diredfl-mode
'((dired-font-lock-keywords
Expand Down

0 comments on commit f9140b2

Please sign in to comment.