diff options
author | Juri Linkov <juri@linkov.net> | 2021-03-16 20:03:55 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-03-16 20:03:55 +0200 |
commit | 2ebd9502391b2be7dc750aa2947ae75b5ec59ba7 (patch) | |
tree | dbaf0c6609bb2f8eb08cfab35813de02eac62aae /lisp/frame.el | |
parent | 6199cdc78bde331cbb9fab4fbb93b467559bf461 (diff) | |
download | emacs-2ebd9502391b2be7dc750aa2947ae75b5ec59ba7.tar.gz emacs-2ebd9502391b2be7dc750aa2947ae75b5ec59ba7.tar.bz2 emacs-2ebd9502391b2be7dc750aa2947ae75b5ec59ba7.zip |
Minor fixes
* lisp/frame.el (set-frame-property--interactive): Remove '(point)'
that makes no sense as the default value. (Bug#9970)
* lisp/simple.el (next-error-found-function): Move defcustom
closer to function 'next-error-found' where it's used.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 409ce0563b5..b5a8e0ed72a 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2739,7 +2739,7 @@ Offer NUMBER as default value, if it is a natural number." (if (and current-prefix-arg (not (consp current-prefix-arg))) (list (selected-frame) (prefix-numeric-value current-prefix-arg)) (let ((default (and (natnump number) number))) - (list (selected-frame) (read-number prompt (list default (point))))))) + (list (selected-frame) (read-number prompt default))))) ;; Variables whose change of value should trigger redisplay of the ;; current buffer. |