Skip to main content

Questions tagged [obsolete]

The obsolete tag refers to discussions about obsolete functions and variables. It does NOT mean the tagged question is obsolete.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

How can I check my .emacs file for legacy functions?

Recently I did (describe-function 'global-unset-key) and saw, This is a legacy function; see ... for the recommended function to use instead. Holy smokes, that's just the tip of the iceberg. My ....
Dan Jacobson's user avatar
1 vote
2 answers
124 views

Translating `defadvice` to `advice-add` for modification of modes

With Emacs 30.1 defadvice has become obsolete, and one should use advice-add or define-advice instead. The Emacs-manual outlines how to transition from defadvice here. I understand the principle of ...
Alexander Praehauser's user avatar
2 votes
1 answer
145 views

Does icicles works with emacs28? Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 3) 2)

I am using GNU Emacs 28.0.50 and trying to enable icicles within. The error I am having: For: (add-to-list 'load-path "~/.emacs.d/lisp/icicles") (require 'icicles) error: Debugger entered--...
alper's user avatar
  • 1,410
7 votes
1 answer
1k views

How to replace focus-out-hook with after-focus-change-function in emacs 27?

In my old emacs, I have defined the following code. (add-hook 'focus-out-hook (lambda () (save-some-buffers t))) After upgrade to emacs 27, it said focus-out-hook is obsoleted, and the new one is ...
Daniel Wu's user avatar