GNU Emacs 28.2
I have created a file print2Buff.el
, when starting to learn writing an emacs extension in the directory
~/.emacs.d/extensions/
In the init file, I write:
(add-to-list 'load-path "~/.emacs.d/extensions/")
(require 'print2Buff)
Nevertheless, when the init file is opened again, it announces that, in --debug-init
mode:
Debugger entered--Lisp error: (error "Loading file /home/***/.emacs.d/extensions/print2Buff.el failed to provide feature ‘print2Buff’")
How could I solve this problem?
I have strove to google many emacs file loading error but I still get stuck.
I wish I would solve the problem to start writing my own emacs extensions