summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-02-02 14:39:28 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2021-02-02 14:39:28 -0500
commit04ab3904eddc01af918fb85b8712cd5d45238468 (patch)
tree558d0470945fcdced26f250e404c129b24855845 /lisp/startup.el
parentc2b3a1d41457a4edbf86673c2680541039b85d59 (diff)
downloademacs-04ab3904eddc01af918fb85b8712cd5d45238468.tar.gz
emacs-04ab3904eddc01af918fb85b8712cd5d45238468.tar.bz2
emacs-04ab3904eddc01af918fb85b8712cd5d45238468.zip
* lisp/gnus/gnus-art.el: Fix misuse of `standard-value`.
* lisp/custom.el (custom--standard-value): New function. * lisp/gnus/gnus-art.el: (gnus-article-browse-html-parts) (gnus-article-browse-html-article): * lisp/dired-aux.el (dired-do-find-regexp-and-replace): * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): * lisp/startup.el (command-line): Use it.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 60e1a200bbd..b173d619733 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1386,7 +1386,7 @@ please check its value")
(equal user-mail-address
(let (mail-host-address)
(ignore-errors
- (eval (car (get 'user-mail-address 'standard-value))))))
+ (custom--standard-value 'user-mail-address))))
(custom-reevaluate-setting 'user-mail-address))
;; If parameter have been changed in the init file which influence