emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/newcomment.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/newcomment.el
Date: Tue, 25 Nov 2003 16:20:51 -0500

Index: emacs/lisp/newcomment.el
diff -c emacs/lisp/newcomment.el:1.69 emacs/lisp/newcomment.el:1.70
*** emacs/lisp/newcomment.el:1.69       Fri Oct 24 16:26:26 2003
--- emacs/lisp/newcomment.el    Tue Nov 25 16:20:51 2003
***************
*** 224,233 ****
  Functions autoloaded from newcomment.el, being entry points, should call
  this function before any other, so the rest of the code can assume that
  the variables are properly set."
!   (if (not comment-start)
!       (unless noerror
!       (set (make-local-variable 'comment-start)
!            (read-string "No comment syntax is defined.  Use: ")))
      ;; comment-use-syntax
      (when (eq comment-use-syntax 'undecided)
        (set (make-local-variable 'comment-use-syntax)
--- 224,233 ----
  Functions autoloaded from newcomment.el, being entry points, should call
  this function before any other, so the rest of the code can assume that
  the variables are properly set."
!   (unless (and (not comment-start) noerror)
!     (unless comment-start
!       (set (make-local-variable 'comment-start)
!          (read-string "No comment syntax is defined.  Use: ")))
      ;; comment-use-syntax
      (when (eq comment-use-syntax 'undecided)
        (set (make-local-variable 'comment-use-syntax)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]