Paste: factor.el fix for gensym

Author: p1
Mode: text
Date: Fri, 28 Nov 2008 05:09:16
Plain Text |
Apperantly, GNU Emacs in cvs has dropped gensym. I suppose it has been deprecated for a while.


diff --git a/misc/factor.el b/misc/factor.el
index 3c5b6bb..99e90f4 100644
--- a/misc/factor.el
+++ b/misc/factor.el
@@ -644,7 +644,7 @@ vocabularies which have been modified on disk."
 ;;; Key bindings:
 
 (defmacro factor--define-key (key cmd &optional both)
-  (let ((m (gensym))
+  (let ((m (make-symbol "m"))
         (ms '(factor-mode-map)))
     (when both (push 'factor-help-mode-map ms))
     `(dolist (,m (list ,@ms))

New Annotation

Summary:
Author:
Mode:
Body: