diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-21 10:43:45 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-21 11:01:43 +0100 |
| commit | f74574e3e289a42e4eac62f8b5e1e66d371e29b4 (patch) | |
| tree | e67d2d55eaec07ec91027b5a25bb7aaa9cfd5254 /compat-29.el | |
| parent | ffb28c74428c77a2dce2513e70b04e79d9a10605 (diff) | |
Minor stylistic improvements
Diffstat (limited to 'compat-29.el')
| -rw-r--r-- | compat-29.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat-29.el b/compat-29.el index efba433..5d441a9 100644 --- a/compat-29.el +++ b/compat-29.el @@ -550,7 +550,7 @@ the symbol of the calling function, for example." (file-attribute-modification-time fileattr)))) (sym (concat (symbol-name tag) "@" file)) (cachedattr (gethash sym file-has-changed-p--hash-table))) - (when (not (equal attr cachedattr)) + (unless (equal attr cachedattr) (puthash sym attr file-has-changed-p--hash-table)))) ;;;; Defined in keymap.el @@ -1068,7 +1068,7 @@ command exists in this specific map, but it doesn't have the (while defs (setq key (pop defs)) (pop defs) - (when (not (eq key :menu)) + (unless (eq key :menu) (if (member key seen-keys) (error "Duplicate definition for key '%s' in keymap '%s'" key variable-name) |
