Skip to content
Snippets Groups Projects
  1. Jul 27, 2015
  2. Jun 23, 2015
    • Jostein Kjønigsen's avatar
      cmake-mode.el: Add support for prog-mode hooks (#15521) · b24b58bb
      Jostein Kjønigsen authored and Brad King's avatar Brad King committed
      Since version 24, Emacs supports a generic mode called prog-mode.  Like
      all other modes it has its own mode-hook, prog-mode-hook.  For Emacs
      users it is common to provide all your generic programming-mode related
      customizations in this mode-hook.
      
      cmake-mode is definitely a programming-mode and should support calling
      this hook. There are two ways to make that happen:
      
      * Make your major-mode a derived-mode from prog-mode.
      * Manually calling the hook upon mode-activation.
      
      Implementing a derived mode may be the most proper thing to do, but that
      may require quite a few structural changes.  For now just call the hook
      explicitly if it exists.  This should cover much of what users need.
      b24b58bb
  3. Apr 22, 2015
  4. Jan 19, 2015
    • Peter Vasil's avatar
      cmake-mode.el: Re-add explicit call to require thingatpt · 3a147e1b
      Peter Vasil authored and Brad King's avatar Brad King committed
      Usually it is not needed to call '(require 'thingatpt')' explicitly
      because the function 'symbol-at-point' is in autoloaded but to be sure
      to have the function loaded in every case, require thingatpt.
      3a147e1b
    • Peter Vasil's avatar
      cmake-mode.el: Fix extracting keyword at point in cmake-help · ca80598e
      Peter Vasil authored and Brad King's avatar Brad King committed
      Since commit v3.1.0-rc2~1^2~1 (cmake-mode.el: syntax of '_' should be
      treated as symbol, 2014-11-12) the 'word-at-point' function does not
      extract the whole keyword anymore if it contains an '_', because
      'forward-word' stops at '_'.  Use 'symbol-at-point' to extract a whole
      keyword even if there is an '_'.
      ca80598e
  5. Jan 16, 2015
  6. Nov 12, 2014
  7. Sep 04, 2014
  8. Sep 03, 2014
  9. Feb 13, 2014
  10. Jan 29, 2014
  11. Jan 28, 2014
  12. Jan 02, 2014
  13. Nov 18, 2013
  14. Oct 15, 2013
Loading