summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-11 10:33:45 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-11 11:30:00 +0200
commitda3f3dd0910fae20df47e723088d737aaf0a88c7 (patch)
tree340a2e62c6ba4449ad428cf31a8cfb8f541c852e /lisp/bindings.el
parent69b68099ecfb053ac77e0a954ab7467c440321ff (diff)
downloademacs-da3f3dd0910fae20df47e723088d737aaf0a88c7.tar.gz
Prefer :risky defcustom keyword
* lisp/align.el (align-region-separate, align-rules-list) (align-exclude-rules-list, align-vhdl-rules-list): * lisp/bindings.el (mode-line-percent-position): * lisp/filesets.el (filesets-menu-cache-file, filesets-commands) (filesets-external-viewers, filesets-ingroup-patterns) (filesets-data): * lisp/hi-lock.el (hi-lock-file-patterns-policy): * lisp/mail/mailalias.el (mail-complete-alist) (mail-directory-process, mail-directory-stream) (mail-directory-parser): * lisp/mail/rmail.el (rmail-confirm-expunge): * lisp/mail/sendmail.el (mail-signature): * lisp/mail/supercite.el (sc-cite-frame-alist) (sc-uncite-frame-alist, sc-recite-frame-alist) (sc-default-cite-frame, sc-default-uncite-frame) (sc-default-recite-frame, sc-attrib-selection-list) (sc-rewrite-header-list): * lisp/progmodes/make-mode.el (makefile-special-targets-list): * lisp/so-long.el (so-long-action-alist): * lisp/textmodes/sgml-mode.el (sgml-tag-alist): Prefer defcustom :risky keyword argument to directly setting the 'risky-local-variable' symbol property.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 0cf1834a4fd..ec9b219fc09 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -1,7 +1,6 @@
;;; bindings.el --- define standard key bindings and some variables -*- lexical-binding: t; -*-
-;; Copyright (C) 1985-1987, 1992-1996, 1999-2022 Free Software
-;; Foundation, Inc.
+;; Copyright (C) 1985-2022 Free Software Foundation, Inc.
;; Maintainer: emacs-devel@gnu.org
;; Keywords: internal
@@ -458,8 +457,8 @@ displayed in `mode-line-position', a component of the default
(const :tag "\"%q\": Offsets of both top and bottom of window"
(6 "%q")))
:version "26.1"
+ :risky t
:group 'mode-line)
-(put 'mode-line-percent-position 'risky-local-variable t)
(defcustom mode-line-position-line-format '(" L%l")
"Format used to display line numbers in the mode line.