[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm fe8f051604 3/5: Fix some warnings with new Emacs-29.1
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm fe8f051604 3/5: Fix some warnings with new Emacs-29.1 |
Date: |
Sun, 30 Jul 2023 15:59:40 -0400 (EDT) |
branch: elpa/helm
commit fe8f0516047414f389d2abbab784edc0598d37f1
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix some warnings with new Emacs-29.1
Prefer ash to lsh
Declare display-buffer-function
Declare linum-mode
---
helm-core.el | 2 ++
helm-lib.el | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/helm-core.el b/helm-core.el
index e6e4da6bca..107b3d3516 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -46,8 +46,10 @@
(declare-function helm-comp-read "helm-mode.el")
(declare-function custom-unlispify-tag-name "cus-edit.el")
(declare-function helm-quit-and-find-file "helm-utils.el")
+(declare-function linum-mode "linum.el")
(defvar helm-marked-buffer-name)
+(defvar display-buffer-function)
;;; Internal Variables
diff --git a/helm-lib.el b/helm-lib.el
index 7a99acf967..9f3c404d99 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -256,7 +256,7 @@ such as `?d' for a directory, or `?l' for a symbolic link
and will override
the leading `-' char."
(string
(or filetype
- (pcase (lsh mode -12)
+ (pcase (ash mode -12)
;; POSIX specifies that the file type is included in st_mode
;; and provides names for the file types but values only for
;; the permissions (e.g., S_IWOTH=2).