1. 22 Oct, 2012 5 commits
    • Takafumi Arakaki's avatar
      * lisp/progmodes/which-func.el (which-func-current): The hash-table may have · 4f020bec
      Takafumi Arakaki authored
      an explicit nil.
      
      Fixes: debbugs:12338
      4f020bec
    • Stefan Monnier's avatar
      Rework the last delsel/electric fix. · c77d37e2
      Stefan Monnier authored
      * lisp/delsel.el (delete-selection-helper): Use a function instead of a hook.
      (delete-selection-pre-hook): Use use-region-p.
      (delete-selection-self-insert-function): Remove.
      (self-insert-command): Obey self-insert-uses-region-functions.
      (self-insert-iso): Revert to previous setting, since we don't actually
      know what that command does.
      (delete-selection-self-insert-hooks): Remove.
      * lisp/electric.el (electric-pair-delete-selection-self-insert-function):
      Rename to electric-pair-will-use-region, return a boolean.
      (electric-pair-mode): Adjust accordingly.  Don't require delsel.
      c77d37e2
    • Simon Law's avatar
      * lisp/delsel.el (delete-selection-helper): New function, extracted from · b1d39ccc
      Simon Law authored
      delete-selection-pre-hook.
      (delete-selection-pre-hook): Use it.
      (delete-selection-self-insert-function): New function.
      (delete-selection-self-insert-hooks): New hook.
      (self-insert-command, self-insert-iso): Use it.
      * lisp/electric.el (electric-pair-syntax): New function, extracted from
      electric-pair-post-self-insert-function.
      (electric-pair-post-self-insert-function): Use it.
      (electric-pair-delete-selection-self-insert-function): New function.
      (electric-pair-mode): Require delsel and setup
      delete-selection-self-insert-hooks.
      
      Fixes: debbugs:11520
      b1d39ccc
    • Glenn Morris's avatar
      Refer to cl-lib rather than cl in lispref · 4ee87740
      Glenn Morris authored
      * intro.texi (Lisp History):
      * lists.texi (Sets And Lists): Refer to cl-lib rather than cl.
      4ee87740
    • Glenn Morris's avatar
  2. 21 Oct, 2012 6 commits
  3. 20 Oct, 2012 13 commits
  4. 19 Oct, 2012 10 commits
  5. 18 Oct, 2012 6 commits