commit a31448f7794d2fc4146002178e1037b4f52dde5b from: Marco Wahl via: GitHub date: Thu Aug 15 15:46:30 2019 UTC Add autoload cookie for the main function With autoload the loading of the library can be avoided in the config file. "The first call to the function automatically loads the proper library, in order to install the real definition and other associated code, then runs the real definition as if it had been loaded all along." (info "(elisp) Autoload") commit - f8d1e63db319e2af9d9b08aae1b07ef1fb83fec0 commit + a31448f7794d2fc4146002178e1037b4f52dde5b blob - cdb4be7d5285660127bc10aa4e7a4bd76df623f8 blob + 9605ae78e1665415ccbb7fbc16199618b727cf8d --- side-notes.el +++ side-notes.el @@ -100,6 +100,7 @@ Return nil if no notes file found." (expand-file-name side-notes-file (locate-dominating-file default-directory side-notes-file))) +;;;###autoload (defun side-notes-toggle-notes () "Pop up a side window containing the notes file.