[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot fca0deb 030/184: make-local-hook causes erros with
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot fca0deb 030/184: make-local-hook causes erros with GNU Emacs 24 |
Date: |
Sun, 29 Aug 2021 11:03:09 -0400 (EDT) |
branch: elpa/gnuplot
commit fca0deb06a56ebe6c1471f5403029249a576e086
Author: Marco Craveiro <marco.craveiro@gmail.com>
Commit: Marco Craveiro <marco.craveiro@gmail.com>
make-local-hook causes erros with GNU Emacs 24
When attempting to use gnuplot-mode with GNU Emacs 24, I get the
following error:
Debugger entered--Lisp error: (void-function make-local-hook)
make-local-hook(kill-buffer-hook)
gnuplot-make-gnuplot-buffer()
The problem is described in detail in the debian bug-tracker:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600185
This commit applies the patch suggested by Agustin Martin on that bug
report.
---
gnuplot.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnuplot.el b/gnuplot.el
index 3afa05e..97d8482 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -1864,8 +1864,10 @@ buffer. Further customization is possible via
(process-kill-without-query gnuplot-process nil)
(save-excursion
(set-buffer gnuplot-buffer)
- (make-local-hook 'kill-buffer-hook)
- (add-hook 'kill-buffer-hook 'gnuplot-close-down nil t)
+ ;; 'local does not automatically make hook buffer-local in XEmacs.
+ (if (featurep 'xemacs)
+ (make-local-hook 'kill-buffer-hook))
+ (add-hook 'kill-buffer-hook 'gnuplot-close-down nil t)
(gnuplot-comint-start-function)
(make-local-variable 'comint-output-filter-functions)
(setq comint-output-filter-functions
- [nongnu] branch elpa/gnuplot created (now 7138b13), ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e3039c5 005/184: Again with the README.org, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot eec13f0 007/184: Updtaed contact information for move to github, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 2f3d40e 037/184: Added experimental context-sensitive completion and help code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot b6c56b7 020/184: Modified .gitignore, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 171bbea 046/184: Numerous grammar tweaks. Implement `many1' repetition (regex `+')., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot fca0deb 030/184: make-local-hook causes erros with GNU Emacs 24,
ELPA Syncer <=
- [nongnu] elpa/gnuplot bef60ba 019/184: Create a gnuplot-comint buffer in gnuplot-show-gnuplot-buffer if none exists., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c3259fb 039/184: Merge branch 'context' of github.com:bruceravel/gnuplot-mode into context, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 674a21d 040/184: Merge remote-tracking branch 'origin/devel' into devel, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot de13740 038/184: Added experimental context-sensitive completion and help code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 23f2060 032/184: Merge branch 'master' into devel, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 78d691b 003/184: Updated readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e679a59 002/184: import everything, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 00cb492 010/184: Improved continuation line handling by indentation & gnuplot-send-line-*, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a375477 031/184: Merge pull request #7 from mcraveiro/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 566e92f 027/184: Fixed a dumb bug in gnuplot-indent-line., ELPA Syncer, 2021/08/29