all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* who's setting value of kill-emacs-query-functions
@ 2022-07-09  6:21 Pankaj Jangid
  2022-07-09  7:14 ` Eli Zaretskii
  2022-07-09 14:42 ` [External] : " Drew Adams
  0 siblings, 2 replies; 4+ messages in thread
From: Pankaj Jangid @ 2022-07-09  6:21 UTC (permalink / raw)
  To: help-gnu-emacs

I am not setting the value of this variable: kill-emacs-query-functions

But describe-variable shows this,

--8<---------------cut here---------------start------------->8---
kill-emacs-query-functions is a variable defined in ‘files.el’.

Its value is (server-kill-emacs-query-function desktop-kill)
Original value was nil
--8<---------------cut here---------------end--------------->8---

Is this expected behaviour on GNU/Linux with GNOME?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: who's setting value of kill-emacs-query-functions
  2022-07-09  6:21 who's setting value of kill-emacs-query-functions Pankaj Jangid
@ 2022-07-09  7:14 ` Eli Zaretskii
  2022-07-09  8:42   ` Pankaj Jangid
  2022-07-09 14:42 ` [External] : " Drew Adams
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-07-09  7:14 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Pankaj Jangid <pankaj@codeisgreat.org>
> Date: Sat, 09 Jul 2022 11:51:11 +0530
> 
> I am not setting the value of this variable: kill-emacs-query-functions
> 
> But describe-variable shows this,
> 
> --8<---------------cut here---------------start------------->8---
> kill-emacs-query-functions is a variable defined in ‘files.el’.
> 
> Its value is (server-kill-emacs-query-function desktop-kill)
> Original value was nil
> --8<---------------cut here---------------end--------------->8---
> 
> Is this expected behaviour on GNU/Linux with GNOME?

Yes, assuming you invoke server-start and desktop-save-mode.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: who's setting value of kill-emacs-query-functions
  2022-07-09  7:14 ` Eli Zaretskii
@ 2022-07-09  8:42   ` Pankaj Jangid
  0 siblings, 0 replies; 4+ messages in thread
From: Pankaj Jangid @ 2022-07-09  8:42 UTC (permalink / raw)
  To: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

>> Is this expected behaviour on GNU/Linux with GNOME?
>
> Yes, assuming you invoke server-start and desktop-save-mode.

Thanks.. I am using both. Hence the value.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [External] : who's setting value of kill-emacs-query-functions
  2022-07-09  6:21 who's setting value of kill-emacs-query-functions Pankaj Jangid
  2022-07-09  7:14 ` Eli Zaretskii
@ 2022-07-09 14:42 ` Drew Adams
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2022-07-09 14:42 UTC (permalink / raw)
  To: Pankaj Jangid, help-gnu-emacs@gnu.org

> kill-emacs-query-functions is a variable defined in ‘files.el’.
> 
> Its value is (server-kill-emacs-query-function desktop-kill)
> Original value was nil

See that "Original value was nil"?

Bisect your init file to find the culprit.
You can use command `comment-region' to
comment a selection of code (e.g. lines).
(`C-u' uncomments instead).

Comment out 1/2, then 3/4, 7/8, 15/16,
31/32,... till you find the responsible
code.  That's a binary search - quick.

(You can also `M-x grep' the code of the
packages you use, for `desktop-kill' or
`kill-emacs-query-functions', for example.)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-09 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-09  6:21 who's setting value of kill-emacs-query-functions Pankaj Jangid
2022-07-09  7:14 ` Eli Zaretskii
2022-07-09  8:42   ` Pankaj Jangid
2022-07-09 14:42 ` [External] : " Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.