update packages

This commit is contained in:
2025-02-26 20:16:44 +01:00
parent 59db017445
commit 45d49daef0
291 changed files with 16240 additions and 522600 deletions

View File

@@ -1,10 +1,10 @@
(define-package "helpful" "20231028.516" "A better *help* buffer"
(define-package "helpful" "20250220.545" "A better *help* buffer"
'((emacs "25")
(dash "2.18.0")
(s "1.11.0")
(f "0.20.0")
(elisp-refs "1.2"))
:commit "a32a5b3d959a7fccf09a71d97b3d7c888ac31c69" :authors
:commit "5ad8a9ce57b6c076428286c3d25968b449ab6fd3" :authors
'(("Wilfred Hughes" . "me@wilfred.me.uk"))
:maintainers
'(("Wilfred Hughes" . "me@wilfred.me.uk"))

View File

@@ -606,7 +606,9 @@ overrides that to include previously opened buffers."
(let* ((sym (button-get button 'symbol))
(buf (button-get button 'buffer))
(sym-value (helpful--sym-value sym buf))
(set-func (symbol-name helpful-set-variable-function))
(set-func (if (local-variable-p sym buf)
"setq"
(symbol-name helpful-set-variable-function)))
;; Inspired by `counsel-read-setq-expression'.
(expr
(minibuffer-with-setup-hook
@@ -1259,7 +1261,10 @@ If the source code cannot be found, return the sexp used."
;; function.
(progn
(setq pos (line-beginning-position))
(forward-list)
;; HACK Use the elisp syntax table even though the file is a
;; C file. This is a temporary workaround for issue #329.
(with-syntax-table emacs-lisp-mode-syntax-table
(forward-list))
(forward-char)
(narrow-to-region pos (point)))
;; Narrow to the top-level definition.
@@ -1314,8 +1319,8 @@ Return nil otherwise."
(package-version
(format
"This variable was added, or its default value changed, in %s version %s."
(car package-version)
(cdr package-version)))
(or (car-safe package-version) "unknown")
(or (cdr-safe package-version) "unknown")))
(emacs-version
(format
"This variable was added, or its default value changed, in Emacs %s."
@@ -2712,7 +2717,7 @@ See also `helpful-function'."
((null sym)
(user-error "No command is bound to %s"
(key-description key-sequence)))
((commandp sym)
((commandp sym t)
(helpful--update-and-switch-buffer sym t))
(t
(user-error "%s is bound to %s which is not a command"